login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117463 Final number reached in the associated iterations of A117462. This is the first doubled iteration to equal or exceed N. 5
2, 4, 6, 8, 10, 12, 14, 16, 18, 16, 16, 12, 16, 20, 24, 28, 32, 18, 20, 32, 24, 32, 40, 24, 28, 32, 36, 40, 44, 48, 32 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

FORMULA

Compute SOD(N), double, count number of doubled iterations to equal or exceed N.

EXAMPLE

In a(10) = 16, N = 11. SOD(11) = 2. 2 doubled is 4,8,16, or 3 iterations in A117462.

PROG

UBASIC 10 'use of str, mid, len, val 20 'number of doubled iterations required to equal or exceed sod(n) 30 C=C+1 40 D=str(C) 50 E=len(D) 60 for Q=2 to E 70 A=mid(D, Q, 1):G=val(A) 80 I=I+G 90 next Q 100 print C; I; "-"; 110 K=I 120 I=0 130 for R=1 to C 140 K=K+K:T=T+1 150 if K>=C then print C; K; T:cancel for:stop:goto 170 160 next R 170 K=0:T=0 180 goto 30

CROSSREFS

Cf. A117462.

Sequence in context: A070196 A056964 A052008 * A095371 A055960 A007928

Adjacent sequences:  A117460 A117461 A117462 * A117464 A117465 A117466

KEYWORD

easy,nonn,base

AUTHOR

Enoch Haga (Enokh(AT)comcast.net), Mar 18 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 08:47 EST 2012. Contains 205614 sequences.