Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A257165
a(n+1) = a(n) + smallest nonzero (and unused) integer embedded in a(n) as a contiguous subchain.
1
1, 2, 4, 8, 16, 22, 44, 88, 176, 183, 186, 204, 224, 248, 296, 305, 310, 320, 352, 387, 425, 450, 495, 544, 598, 657, 714, 728, 756, 812, 824, 906, 996, 1092, 1184, 1195, 1214, 1235, 1258, 1316, 1329, 1358, 1493
OFFSET
1,2
EXAMPLE
If a(n)=1235, a(n+1) could only be 1235+1, or 1235+2, or 1235+3, or 1235+5, or 1235+12, or 1235+23, or 1235+35, or 1235+123, or 1235+235, or 1235+1235, depending on the numbers already used.
In fact, 1258 follows 1235 in the sequence, because 1235+23=1258, and 23 is the smallest subchain in 1235 that has not already been used up to this point (1,2,4,8,6,22,44,88,7,3, etc. are the numbers that have been used).
CROSSREFS
See A257350 for a variant.
Sequence in context: A063108 A161140 A257350 * A262224 A058961 A130917
KEYWORD
nonn,base
AUTHOR
Jean-Marc Falcoz, Apr 17 2015
STATUS
approved