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!)
A081503 Number of steps to reach a single digit when map in A081502 is iterated. 2
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 2, 2, 2, 2, 2, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 2, 2, 2, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,18
LINKS
FORMULA
a(n) = O(log n).
EXAMPLE
19 -> 3+9 = 12 -> 3+2 = 5, taking 2 steps, so a(19)=2.
MAPLE
A081503 := proc(n)
local nitr, a ;
nitr := n ;
a := 0 ;
while nitr > 9 do
nitr := A081502(nitr) ;
a := a+1 ;
end do;
a ;
end proc: # R. J. Mathar, Oct 03 2014
CROSSREFS
Sequence in context: A037804 A316894 A362933 * A351206 A176508 A241492
KEYWORD
nonn,easy,base
AUTHOR
N. J. A. Sloane, Apr 22 2003
EXTENSIONS
More terms from Matthew Conroy, Jan 16 2006
Formula from Charles R Greathouse IV, Aug 02 2010
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 April 20 09:30 EDT 2024. Contains 371799 sequences. (Running on oeis4.)