login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A244058 n-th term of the 'Reverse and Add!' sequence starting with n. 2

%I #15 Jun 07 2021 18:05:24

%S 1,4,12,77,44,363,484,4444,79497,14003,88088,175857,1596595,1716517,

%T 17794887,13528163,176599676,839546037,1317544822,853595347,

%U 8836886388,13236127322,13297007933,668823329856,175304440267,909153350908,9317488848228,8813200023188

%N n-th term of the 'Reverse and Add!' sequence starting with n.

%C a(n) is a palindrome for n in {1, 2, 4, 5, 6, 7, 8, 9, 11, 21, 28, 30}.

%H Alois P. Heinz, <a href="/A244058/b244058.txt">Table of n, a(n) for n = 1..1000</a>

%H <a href="/index/Res#RAA">Index entries for sequences related to Reverse and Add!</a>

%p b:= proc(n, j) option remember; `if`(j=1, n, (h-> h+ (s->

%p parse(cat(s[-i]$i=1..length(s))))(""||h))(b(n, j-1)))

%p end:

%p a:= n-> b(n$2):

%p seq(a(n), n=1..40);

%t Table[Nest[#+IntegerReverse[#]&,n,n-1],{n,30}] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Jun 07 2021 *)

%Y Main diagonal of A243238.

%Y Cf. A001127, A033648, A033670, A006960, A004086.

%K nonn,base

%O 1,2

%A _Alois P. Heinz_, Jun 18 2014

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 3 21:27 EDT 2024. Contains 374905 sequences. (Running on oeis4.)