|
home | manual | reference | regression | sequence | develop | apps |
Sequences
Concepts | Sequences | Actions | Examples | Reference
Examples
Examples ! Many are generated and do not always make sence,
the examples from 'specials' are hand crafted and gives a good view of what the Sequences subsystem of PAD can do.
sequences | specials | random | play/single | play/double | keepRemoveFlag
add and antiprime bell biquadratic catalan caterer ceil chance composite cubic cullen decagonal divide emirp enneadecagonal eval even exponentiation fibonacci floor gnomonic golomb gould happy harshad heptadecagonal heptagonal hexagonal icosihenagonal identity kaprekar kolakoski kynea list loop lucas lucky mersenne modulo moserdebruijn multiple multiply nand negation newmanConway nor not octagonal octahedral odd oeis or palindrome pell pentagonal perfect perrin polite power powerful prime pronic random range recaman repeat round semiprime square step strong substract sylvester tetrahedral triangular tribonacci xnor xor xpadovan
caterer
basic/caterer.pad
HTML RESULT {sequence caterer}
{$sequence}
{/sequence}2 4 7 11 16 22 29 37 46 56play/single/caterer.pad
HTML RESULT {sequence even, rows=5} {$sequence} {/sequence}2 4 6 8 10{sequence caterer, rows=10} {$sequence} {/sequence}2 4 7 11 16 22 29 37 46 56{sequence even, caterer, rows=5} {$sequence} {/sequence}4 11 22 37 56keepRemoveFlag/caterer.pad
HTML RESULT {sequence 25, push='mySequence'}{pull mySequence, make, caterer} {$sequence} {/pull}2 4 7 11 16 22 29 37 46 56 67 79 92 106 121 137 154 172 191 211 232 254 277 301 326{pull mySequence, keep, caterer} {$sequence} {/pull}2 4 7 11 16 22{pull mySequence, remove, caterer} {$sequence} {/pull}1 3 5 6 8 9 10 12 13 14 15 17 18 19 20 21 23 24 25{pull mySequence, flag, caterer} {$sequence} {/pull}0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0
|
home | manual | reference | regression | sequence | develop | apps |
(c) 2003-2025 Herbert Groot Jebbink