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.

A209878 RATS: Reverse Add Then Sort the digits applied to previous term, starting with 20169.

Original entry on oeis.org

20169, 111267, 337788, 1122255, 4446666, 1111113, 2222244, 4446666, 1111113, 2222244, 4446666, 1111113, 2222244, 4446666, 1111113, 2222244, 4446666, 1111113, 2222244, 4446666, 1111113, 2222244, 4446666, 1111113, 2222244, 4446666, 1111113, 2222244, 4446666
Offset: 1

Views

Author

Reinhard Zumkeller, Mar 14 2012

Keywords

Comments

A114613(1) = 20169 is the smallest starting number for a RATS trajectory leading to a cycle of length 3: A114611(20169) = 3;
a(n + 3) = a(n) for n > 4.

Crossrefs

Programs

  • Haskell
    a209878 n = a209878_list !! (n-1)
    a209878_list = iterate a036839 20169
  • Mathematica
    Join[{20169, 111267, 337788, 1122255},LinearRecurrence[{0, 0, 1},{4446666, 1111113, 2222244},25]] (* Ray Chandler, Aug 25 2015 *)

Formula

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