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.

A063435 Number of 'Reverse and Add!' operations that have to be applied to the n-th term of A063434 in order to obtain a term in the trajectory of 10577.

Original entry on oeis.org

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

Views

Author

Klaus Brockhaus, Jul 20 2001

Keywords

Examples

			12557 is a term of A063434. One 'Reverse and Add!' operation applied to 12557 leads to a term (88078) in the trajectory of 10577, so the corresponding term of the present sequence is 1.
		

Crossrefs

A063433 'Reverse and Add!' trajectory of 10577.

Original entry on oeis.org

10577, 88078, 175166, 836737, 1574375, 7309126, 13528163, 49710694, 99312488, 187733887, 976071668, 1842242347, 9274664828, 17559329557, 93151725128, 175304440267, 937348843838, 1775697687577, 9533565653348, 17967131306707
Offset: 0

Views

Author

Klaus Brockhaus, Jul 20 2001

Keywords

Examples

			a(1) = 10577 + 77501 = 88078.
		

Crossrefs

Programs

  • ARIBAS
    m := 10577; stop := 20; 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
    a063433 n = a063433_list !! n
    a063433_list = iterate a056964 10577 -- Reinhard Zumkeller, Sep 22 2011
  • Mathematica
    NestList[#+FromDigits[Reverse[IntegerDigits[#]]]&,10577, 20]  (* Harvey P. Dale, Apr 03 2011 *)
  • PARI
    Rev(x)= { local(d,r); r=0; while (x>0, d=x-10*(x\10); x\=10; r=r*10 + d); return(r) }
    { for (n=0, 200, if (n, a+=Rev(a), a=10577); write("b063433.txt", n, " ", a) ) } \\ Harry J. Smith, Aug 21 2009
    
Showing 1-2 of 2 results.