[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A244058
n-th term of the 'Reverse and Add!' sequence starting with n.
2
1, 4, 12, 77, 44, 363, 484, 4444, 79497, 14003, 88088, 175857, 1596595, 1716517, 17794887, 13528163, 176599676, 839546037, 1317544822, 853595347, 8836886388, 13236127322, 13297007933, 668823329856, 175304440267, 909153350908, 9317488848228, 8813200023188
OFFSET
1,2
COMMENTS
a(n) is a palindrome for n in {1, 2, 4, 5, 6, 7, 8, 9, 11, 21, 28, 30}.
MAPLE
b:= proc(n, j) option remember; `if`(j=1, n, (h-> h+ (s->
parse(cat(s[-i]$i=1..length(s))))(""||h))(b(n, j-1)))
end:
a:= n-> b(n$2):
seq(a(n), n=1..40);
MATHEMATICA
Table[Nest[#+IntegerReverse[#]&, n, n-1], {n, 30}] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 07 2021 *)
CROSSREFS
Main diagonal of A243238.
Sequence in context: A078628 A358660 A301340 * A165261 A027145 A299795
KEYWORD
nonn,base
AUTHOR
Alois P. Heinz, Jun 18 2014
STATUS
approved