|
|
A102042
|
|
a(n) = a(n-1) + last digit of a(n-1), starting at 9.
|
|
1
|
|
|
9, 18, 26, 32, 34, 38, 46, 52, 54, 58, 66, 72, 74, 78, 86, 92, 94, 98, 106, 112, 114, 118, 126, 132, 134, 138, 146, 152, 154, 158, 166, 172, 174, 178, 186, 192, 194, 198, 206, 212, 214, 218, 226, 232, 234, 238, 246, 252, 254, 258, 266, 272, 274, 278, 286, 292
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 10+(1-i/2)*(-i)^n+(1+i/2)*i^n+5*n for n>1, where i = sqrt(-1). - Colin Barker, Oct 19 2015
|
|
EXAMPLE
|
34 + 4 = 38, 38 + 8 = 46.
|
|
MATHEMATICA
|
NestList[#+Last[IntegerDigits[#]]&, 9, 60] (* Harvey P. Dale, Sep 19 2011 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
Samantha Stones (devilsdaughter2000(AT)hotmail.com), Dec 25 2004
|
|
EXTENSIONS
|
Formula adjusted for offset 1.
|
|
STATUS
|
approved
|
|
|
|