|
| |
|
|
A085938
|
|
a(n) is the (n+1)-digit number in which the first digit is 1 and the subsequent digits increase by steps of n (mod 10).
|
|
1
| |
|
|
12, 135, 1470, 15937, 161616, 1739517, 18529630, 197531975, 1098765432, 11111111111, 123456789012, 1357913579135, 14703692581470, 159371593715937, 1616161616161616, 17395173951739517, 185296307418529630
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
EXAMPLE
| a(4) = 15937, 5 = 1+4, 9 = 5+4, 9+4 = 13 gives the next digit 3, 3+4 = 7 is the least significant digit.
|
|
|
PROG
| (PARI) a(n) = sum(i = 0, n, (1 + i*n)%10*10^(n - i)) (Wasserman)
|
|
|
CROSSREFS
| Sequence in context: A015469 A144785 A199233 * A161124 A030023 A194013
Adjacent sequences: A085935 A085936 A085937 * A085939 A085940 A085941
|
|
|
KEYWORD
| base,easy,nonn
|
|
|
AUTHOR
| Jason Earls and Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jul 14 2003
|
|
|
EXTENSIONS
| More terms from David Wasserman (wasserma(AT)spawar.navy.mil), Feb 14 2005
|
| |
|
|