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”).

A074865
a(n) = a(n-1) + R(a(n-2)) + R(a(n-3)) + R(a(n-4)) where a(1) = a(2) = a(3) = a(4) = 1 and R(n) (A004086) is the reverse of n.
1
1, 1, 1, 1, 4, 7, 13, 25, 67, 157, 316, 1195, 2635, 9910, 21796, 33268, 108541, 264685, 566431, 1384927, 2251855, 10267813, 23278831, 68031385, 119376340, 223452859, 339327088, 1399568407, 3282220573, 12169858759, 23849465446, 130434244321, 294426858097
OFFSET
1,5
MATHEMATICA
a[1]=a[2]=a[3]=a[4]=1; R[n_]:=FromDigits[Reverse[IntegerDigits[n]]]; a[n_]:=a[n-1]+R[a[n-2]]+R[a[n-3]]+R[a[n-4]]; Array[a, 32] (* Stefano Spezia, Jun 14 2023 *)
CROSSREFS
Sequence in context: A181565 A004119 A074864 * A072683 A304004 A293342
KEYWORD
easy,base,nonn
AUTHOR
Felice Russo, Sep 11 2002
EXTENSIONS
Corrected and extended by Michel ten Voorde Jun 13 2003
More terms from Joshua Zucker, May 08 2006
Definition adapted to offset by Georg Fischer, Jun 18 2021
STATUS
approved