login
A108621
Pi self-erasure.
1
3, 1, 4, 9, 2, 6, 5, 8, 9, 7, 9, 3, 4, 6, 2, 3, 3, 5, 0, 1, 9, 6, 9, 3, 9, 9, 3, 1, 5, 9, 7, 4, 4, 5, 2, 3, 7, 0, 6, 2, 0, 8, 6, 8, 0, 4, 8, 2, 4, 2, 0, 2, 1, 4, 8, 6, 5, 1, 2, 2, 3, 7, 9, 3, 4, 4, 6, 9, 5, 5, 2, 3, 1, 3, 8, 1, 2, 8, 1, 1, 5, 2, 8, 4
OFFSET
1,1
COMMENTS
Get Pi's decimal expansion: 3,1,4,1,5,9,2,6,5,3,5,8,9,7,9,3,2,3,8,4,6,2,6,4,3,3,8,3,... ...
10 For a=1 to infinity ...
20 Let b = the a-th non-erased digit ...
30 Jump b digit(s) and erase the digit on which you land ...
40 Next a
Erased digits are between brackets: 3,1,4,(1),(5),9,2,6,5,(3),(5),8,9,7,9,3,(2),(3),(8),4,6,2,(6),(4),3,(3),(8),3,...
Remaining digits build the sequence.
[Jumping 0 digit means "erase the closest non-erased digit on your right"]
CROSSREFS
Cf. A000796.
Sequence in context: A266131 A338871 A202353 * A193792 A190179 A025116
KEYWORD
base,easy,nonn
AUTHOR
STATUS
approved