cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A281507 Trajectory of 1186061987030929990 under the "Reverse and Add!" operation.

Original entry on oeis.org

1186061987030929990, 2185352294922536801, 3271704589845072613, 6434410079699144336, 12768830049399288682, 41457129443403175403, 71914259877895350817, 143719619755790592734, 581014717313707510075, 1151030424627424920260, 1771324671891665221771
Offset: 0

Views

Author

Andrey S. Shchebetov and Sergei D. Shchebetov, Jan 23 2017

Keywords

Comments

1186061987030929990 is the largest of the first 126 numbers that require exactly 261 steps to turn into a palindrome (see A281506). The sequence reaches a 119-digit palindrome after 261 steps (see b-file). The number was obtained empirically using computer algorithms and was not reported before.

Examples

			a(1) = 1186061987030929990 + 999290307891606811 = 2185352294922536801.
		

References

  • Popular Computing (Calabasas, CA), The 196 Problem, Vol. 3 (No. 30, Sep 1975).

Crossrefs

Programs

  • Magma
    k:=1186061987030929990; [n eq 1 select k else Self(n-1) + Seqint(Reverse(Intseq(Self(n-1)))): n in [1..20]]; // Bruno Berselli, Jan 23 2017
  • Mathematica
    NestList[#+IntegerReverse[#]&,1186061987030929990,20] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jan 17 2019 *)

Formula

a(n+1) = a(n) + rev(a(n)).