OFFSET
0,2
COMMENTS
a(82)=1012345678 is the first term which has a digit appearing more than once without an obvious pattern, although a(-82)=-1012345678 might be seen as the concatenation of ten consecutive numbers.
REFERENCES
David Wells, The Penguin Dictionary of Curious and Interesting Numbers. Penguin Books, NY, 1986, Revised edition 1987. See entry 12345679 at p. 188.
LINKS
Tanya Khovanova, Recursive Sequences.
"TyYann", MegaFavNumbers: Lewis Carroll's Number, video (2020).
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = n*(10^(10-1)-1)/(10-1)^2.
MATHEMATICA
Table[12345679*n, {n, 0, 30}] (* or *) LinearRecurrence[{2, -1}, {0, 12345679}, 30] (* Harvey P. Dale, Oct 16 2015 *)
PROG
(PARI) a(n)=12345679*n \\ Charles R Greathouse IV, Jan 09 2012
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Henry Bottomley, Apr 24 2002
STATUS
approved