login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152234 Similar to A072921 but starting with 5. 2
5, 10, 16, 29, 53, 85, 130, 179, 245, 322, 406, 500, 599, 721, 853, 1001, 1151, 1309, 1480, 1664, 1865, 2086, 2323, 2570, 2831, 3106, 3391, 3692, 4013, 4342, 4684, 5048, 5429, 5830, 6247, 6683, 7142, 7615, 8107, 8615, 9143, 9688, 10264, 10853, 11459 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Alois P. Heinz, Table of n, a(n) for n = 1..1000

MAPLE

b:= proc(n) option remember; local m; m:= a(n); `if`(n=1, 0, b(n-1)); while m>0 do %+ irem(m, 10, 'm') od; % end: a:= proc(n) option remember; `if`(n=1, 5, a(n-1) +b(n-1)) end: seq(a(n), n=1..50); # Alois P. Heinz, Oct 07 2009

MATHEMATICA

a[0] = a[1] = 5; a[n_] := a[n] = 2*a[n-1]-a[n-2]+Total[IntegerDigits[a[n-1]]]; Table[a[n], {n, 1, 45}] (* Jean-Fran├žois Alcover, Mar 05 2014 *)

CROSSREFS

Sequence in context: A026059 A115002 A301290 * A054514 A200940 A002660

Adjacent sequences:  A152231 A152232 A152233 * A152235 A152236 A152237

KEYWORD

nonn,base,easy

AUTHOR

N. J. A. Sloane, Oct 07 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 9 03:27 EST 2019. Contains 329872 sequences. (Running on oeis4.)