The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A036058 Summarize digits of preceding number, by decreasing digit value. Start with a(0) = 0. 7
0, 10, 1110, 3110, 132110, 13123110, 23124110, 1413223110, 1423224110, 2413323110, 1433223110, 1433223110, 1433223110, 1433223110, 1433223110, 1433223110, 1433223110, 1433223110, 1433223110, 1433223110, 1433223110 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
This kind of counting sequence is always eventually periodic with period 1, 2 or 3. - Herve Lehning (lehning(AT)noos.fr), Oct 01 2003
LINKS
Herve Lehning, Computer-aided or analytic proof?, College Mathematics Journal, Vol. 21, No. 3, 1990, pp. 228-239.
FORMULA
a(n+1) = A244112(a(n)), a(0) = 0. - M. F. Hasler, Feb 25 2018
EXAMPLE
The third term is 1110 because the second term contains one 1 and one 0.
PROG
(PARI) a(n)=if(n>9, 1433223110, [0, 10, 1110, 3110, 132110, 13123110, 23124110, 1413223110, 1423224110, 2413323110][n+1]) \\ Charles R Greathouse IV, Jul 24 2012
(PARI) a(n, a=0)={for(k=1, n, a==(a=A244112(a))&&break); a} \\ M. F. Hasler, Feb 25 2018
CROSSREFS
Cf. A007890 (same as this, starting at 1), A001155 (same as this, but using method A047842: by increasing digit value), A005150 (as before, starting at 1), A036059 ("fibonacci" based on this), A036066.
Sequence in context: A204577 A210995 A325910 * A001155 A001391 A049064
KEYWORD
nonn,base,easy,nice
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 15 18:29 EDT 2024. Contains 372549 sequences. (Running on oeis4.)