|
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
bell
basic/bell.pad
HTML RESULT {sequence bell}
{$sequence}
{/sequence}1 2 5 15 52 203 877 4140 21147 115975play/single/bell.pad
HTML RESULT {sequence even, rows=5} {$sequence} {/sequence}2 4 6 8 10{sequence bell, rows=10} {$sequence} {/sequence}1 2 5 15 52 203 877 4140 21147 115975{sequence even, bell, rows=5} {$sequence} {/sequence}2 15 203 4140 115975keepRemoveFlag/bell.pad
HTML RESULT {sequence 25, push='mySequence'}{pull mySequence, make, bell} {$sequence} {/pull}1 2 5 15 52 203 877 4140 21147 115975 678570 4213597 27644437 190899322 1382958545 10480142147 82864869804 682076806159 5832742205057 51724158235372 474869816156751 4506715738447323 44152005855084346 445958869294805289 4638590332229999353{pull mySequence, keep, bell} {$sequence} {/pull}1 2 5 15{pull mySequence, remove, bell} {$sequence} {/pull}3 4 6 7 8 9 10 11 12 13 14 16 17 18 19 20 21 22 23 24 25{pull mySequence, flag, bell} {$sequence} {/pull}1 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
|
home | manual | reference | regression | sequence | develop | apps |
(c) 2003-2025 Herbert Groot Jebbink