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!)
A018194 Number of steps for S(S(..S(n)..)) to converge, where S is the Kempner function A002034. 5
1, 1, 1, 1, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 2, 3, 1, 3, 1, 2, 2, 2, 1, 2, 3, 2, 4, 2, 1, 2, 1, 3, 2, 2, 2, 3, 1, 2, 2, 2, 1, 2, 1, 2, 3, 2, 1, 3, 3, 3, 2, 2, 1, 4, 2, 2, 2, 2, 1, 2, 1, 2, 2, 3, 2, 2, 1, 2, 2, 2, 1, 3, 1, 2, 3, 2, 2, 2, 1, 3, 4, 2, 1, 2, 2, 2, 2, 2, 1, 3, 2, 2, 2, 2, 2, 3, 1, 3, 2, 3, 1, 2, 1, 2, 2, 2, 1, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
a(A046022(n)) = 1. [Reinhard Zumkeller, Mar 09 2012]
REFERENCES
Henry Ibstedt, "Smarandache Iterations", Smarandache Notions Journal, (submitted), 1996.
LINKS
PROG
(Haskell)
a018194 n = 1 + length (takeWhile (/= 0) $ zipWith (-) ks $ tail ks)
where ks = iterate a002034 n
-- Reinhard Zumkeller, Mar 09 2012
CROSSREFS
Cf. A002034.
Sequence in context: A361158 A329744 A277889 * A338630 A286281 A229830
KEYWORD
nonn
AUTHOR
Henry Ibstedt (Glimminge 2036, 28060 Broby, Sweden)
EXTENSIONS
Corrected and extended by David W. Wilson May 15 1997
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 June 2 21:38 EDT 2024. Contains 373051 sequences. (Running on oeis4.)