OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(2n+1) = A016096(n+2). - Michel Marcus, Oct 31 2014
EXAMPLE
a(1)=18; a(2)=1+8=9; a(3)=18+9=27, etc.
MATHEMATICA
NestList[{Total[#], Total[IntegerDigits[Total[#]]]}&, {18, 9}, 40]// Flatten (* Harvey P. Dale, Nov 10 2016 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Anton Joha, Nov 14 2010
STATUS
approved