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

abundant   add   amicable   and   antiprime   automorphic   bell   biquadratic   carmichael   catalan   caterer   ceil   centeredHexagonal   centeredSquare   chance   collatz   composite   cubic   cullen   decagonal   deficient   derangement   digitSum   digitalRoot   divide   divisors   emirp   enneadecagonal   eval   even   evil   exponentiation   factorial   fermat   fibonacci   floor   gnomonic   golomb   gould   hamming   happy   harshad   heptadecagonal   heptagonal   hexagonal   icosihenagonal   identity   jacobsthal   kaprekar   kolakoski   kynea   leonardo   list   loop   lucas   lucky   mersenne   modulo   moserdebruijn   motzkin   multiple   multiply   nand   narayana   narcissistic   negation   newmanConway   nor   not   octagonal   octahedral   odd   odious   oeis   or   palindrome   partition   pell   pentagonal   pentatope   perfect   perfectPower   perrin   polite   power   powerful   prime   primorial   pronic   random   range   recaman   repeat   repunit   reversal   round   safePrime   semiprime   sigma   smith   sophieGermain   sphenic   square   squarefree   star   step   stern   strong   subtract   sylvester   tetrahedral   thabit   thueMorse   totient   triangular   tribonacci   twinPrime   vanEck   woodall   xnor   xor   xpadovan  


woodall

basic/woodall.pad

HTML RESULT
{sequence woodall}
{$sequence}
{/sequence}
1 7 23 63 159 383 895 2047 4607 10239

play/single/woodall.pad

HTML RESULT
{sequence even,          rows=5}  {$sequence} {/sequence}
2 4 6 8 10
{sequence woodall,       rows=10} {$sequence} {/sequence}
1 7 23 63 159 383 895 2047 4607 10239
{sequence even, woodall, rows=5}  {$sequence} {/sequence}
7 63 383 2047 10239

keepRemoveFlag/woodall.pad

HTML RESULT
{sequence 25, push='mySequence'}
{pull mySequence, make,   woodall} {$sequence} {/pull}
1 7 23 63 159 383 895 2047 4607 10239 22527 49151 106495 229375 491519 1048575 2228223 4718591 9961471 20971519 44040191 92274687 192937983 402653183 838860799
{pull mySequence, keep,   woodall} {$sequence} {/pull}
1 7 23
{pull mySequence, remove, woodall} {$sequence} {/pull}
2 3 4 5 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25
{pull mySequence, flag,   woodall} {$sequence} {/pull}
1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0