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.

Showing 1-2 of 2 results.

A063059 a(n) = number of 'Reverse and Add!' operations that have to be applied to the n-th term of A063058 in order to obtain a term in the trajectory of 7059.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1, 0, 2, 1, 3, 2, 1, 3, 2, 1, 1, 1, 1, 1, 2, 1, 3, 2, 1, 3, 2, 1, 1, 1, 1, 1, 2, 1, 3, 2, 1, 3, 2, 1, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 3, 2, 1, 3, 2, 1
Offset: 0

Views

Author

Klaus Brockhaus, Jul 07 2001

Keywords

Examples

			7239 is a term of A063058. One 'Reverse and Add!' operation applied to 7239 leads to a term (16566) in the trajectory of 7059, so the corresponding term of the present sequence is 1.
		

Crossrefs

A063057 'Reverse and Add!' trajectory of 7059.

Original entry on oeis.org

7059, 16566, 83127, 155265, 717816, 1336533, 4692864, 9375828, 17661567, 94178238, 177465387, 961030158, 1812060327, 9042662508, 17095324917, 89037683988, 177976357086, 858730036857, 1617360074715, 6792060711876
Offset: 0

Views

Author

Klaus Brockhaus, Jul 07 2001

Keywords

Examples

			a(1) = 7059 + 9507 = 16566.
		

Crossrefs

Programs

  • ARIBAS
    m := 7059; stop := 25; c := 0; rev := int_reverse(m); while m <> rev and c < stop do inc(c); write(m," "); m := m + rev; rev := int_reverse(m); end;
    
  • Haskell
    a063057 n = a063057_list !! n
    a063057_list = iterate a056964 7059 -- Reinhard Zumkeller, Sep 22 2011
  • Mathematica
    NestList[# + FromDigits[Reverse[IntegerDigits[#]]]&, 7059, 40] (* Vincenzo Librandi, May 03 2014 *)
Showing 1-2 of 2 results.