PAD - PHP Application Driver


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

arithmetic   basic   dedup   double   eval   even_odd   extra   figurate   first_last_and_shift_pop   intersection   logic   min_max   mkr   multi   named   negative   oeis   other   play   prime_or_not   push_and_pull   reduce   shift   slice_splice   trim  


HTML RESULT
{sequence '1..15', name='mySeq'}
{mySeq}
{$sequence}
{/mySeq}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{mySeq floor=5}
{$sequence}
{/mySeq}
0 0 0 0 5 5 5 5 5 10 10 10 10 10 15
{mySeq round=5}
{$sequence}
{/mySeq}
0 0 5 5 5 5 5 10 10 10 10 10 15 15 15
{mySeq ceil=5}
{$sequence}
{/mySeq}
5 5 5 5 5 10 10 10 10 10 15 15 15 15 15
{mySeq modulo=5}
{$sequence}
{/mySeq}
1 2 3 4 0 1 2 3 4 0 1 2 3 4 0
{mySeq add=5}
{$sequence}
{/mySeq}
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{mySeq subtract=5}
{$sequence}
{/mySeq}
-4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10
{mySeq divide=5}
{$sequence}
{/mySeq}
0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2.2 2.4 2.6 2.8 3
{mySeq multiply=5}
{$sequence}
{/mySeq}
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75
{mySeq exponentiation=5}
{$sequence}
{/mySeq}
1 32 243 1024 3125 7776 16807 32768 59049 100000 161051 248832 371293 537824 759375
{mySeq power=5}
{$sequence}
{/mySeq}
5 25 125 625 3125 15625 78125 390625 1953125 9765625 48828125 244140625 1220703125 6103515625 30517578125




home | manual | reference | regression | sequence | develop | apps

(c) 2003-2025 Herbert Groot Jebbink