# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a244058 Showing 1-1 of 1 %I A244058 #15 Jun 07 2021 18:05:24 %S A244058 1,4,12,77,44,363,484,4444,79497,14003,88088,175857,1596595,1716517, %T A244058 17794887,13528163,176599676,839546037,1317544822,853595347, %U A244058 8836886388,13236127322,13297007933,668823329856,175304440267,909153350908,9317488848228,8813200023188 %N A244058 n-th term of the 'Reverse and Add!' sequence starting with n. %C A244058 a(n) is a palindrome for n in {1, 2, 4, 5, 6, 7, 8, 9, 11, 21, 28, 30}. %H A244058 Alois P. Heinz, Table of n, a(n) for n = 1..1000 %H A244058 Index entries for sequences related to Reverse and Add! %p A244058 b:= proc(n, j) option remember; `if`(j=1, n, (h-> h+ (s-> %p A244058 parse(cat(s[-i]$i=1..length(s))))(""||h))(b(n, j-1))) %p A244058 end: %p A244058 a:= n-> b(n$2): %p A244058 seq(a(n), n=1..40); %t A244058 Table[Nest[#+IntegerReverse[#]&,n,n-1],{n,30}] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Jun 07 2021 *) %Y A244058 Main diagonal of A243238. %Y A244058 Cf. A001127, A033648, A033670, A006960, A004086. %K A244058 nonn,base %O A244058 1,2 %A A244058 _Alois P. Heinz_, Jun 18 2014 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE