|
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
octagonal
basic/octagonal.pad
HTML RESULT {sequence octagonal}
{$sequence}
{/sequence}1 8 21 40 65 96 133 176 225 280play/single/octagonal.pad
HTML RESULT {sequence even, rows=5} {$sequence} {/sequence}2 4 6 8 10{sequence octagonal, rows=10} {$sequence} {/sequence}1 8 21 40 65 96 133 176 225 280{sequence even, octagonal, rows=5} {$sequence} {/sequence}8 40 96 176 280keepRemoveFlag/octagonal.pad
HTML RESULT {sequence 25, push='mySequence'}{pull mySequence, make, octagonal} {$sequence} {/pull}1 8 21 40 65 96 133 176 225 280 341 408 481 560 645 736 833 936 1045 1160 1281 1408 1541 1680 1825{pull mySequence, keep, octagonal} {$sequence} {/pull}1 8 21{pull mySequence, remove, octagonal} {$sequence} {/pull}2 3 4 5 6 7 9 10 11 12 13 14 15 16 17 18 19 20 22 23 24 25{pull mySequence, flag, octagonal} {$sequence} {/pull}1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
|
home | manual | reference | regression | sequence | develop | apps |
(c) 2003-2025 Herbert Groot Jebbink