|
| |
|
|
A121805
|
|
The "commas" sequence: a(1) = 1; for n > 1, let x be the least significant digit of a(n-1); then a(n) = a(n-1) + x*10 + y where y is the most significant digit of a(n) and is the smallest such y, if such a y exists. If no such y exists, stop.
|
|
4
| |
|
|
1, 12, 35, 94, 135, 186, 248, 331, 344, 387, 461, 475, 530, 535, 590, 595, 651, 667, 744, 791, 809, 908, 997, 1068, 1149, 1240, 1241, 1252, 1273, 1304, 1345, 1396, 1457, 1528, 1609, 1700, 1701, 1712, 1733, 1764, 1805, 1856, 1917, 1988, 2070
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
COMMENTS
| The sequence contains exactly 2137453 terms, with a(2137453)=99999945. The next term does not exist. - Edwin Clark, Dec 11 2006
It is remarkable that the sequence persists for so long. - N. J. A. Sloane (njas(AT)research.att.com), Dec 15 2006
|
|
|
REFERENCES
| E. Angelini, "Jeux de suites", in Dossier Pour La Science, pp. 32-35, Volume 59 (Jeux math'), April/June 2008, Paris.
|
|
|
LINKS
| Zak Seidov, Table of n, a(n) for n = 1..1001
Eric Angelini, (No title)
|
|
|
EXAMPLE
| E.g. a(6) = 186 and a(7) = 248 = 186 + 62
Sequence...:.1,.12,.35,.94,.135,.186,.248,.331,.344,.387,.461,.475,.530,.535,.590,....
Differences:..11..23..59..41...51...62...83...13...43...74...14...55...05...55.....
|
|
|
MAPLE
| (Maple program from Edwin Clark): digits:=n->ListTools:-Reverse(convert(n, base, 10)):
nextK:=proc(K) local i, L; for i from 0 to 9 do L:=K+digits(K)[ -1]*10+i; if i = digits(L)[1] then return L; fi; od; FAIL; end:
a:=proc(n) option remember: if n = 1 then return 1; fi; return nextK(a(n-1)); end:
|
|
|
CROSSREFS
| Cf. A139284.
Sequence in context: A102085 A058968 A195858 * A195542 A103472 A009649
Adjacent sequences: A121802 A121803 A121804 * A121806 A121807 A121808
|
|
|
KEYWORD
| nonn,base,fini,nice
|
|
|
AUTHOR
| Eric Angelini (Eric.Angelini(AT)kntv.be), Dec 11 2006
|
|
|
EXTENSIONS
| More terms from Zak Seidov, Dec 11 2006
|
| |
|
|