Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117463
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117463 Final number reached in the associated iterations of A117462. This is the first doubled iteration to equal or exceed N. +0
6
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; listen)
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.

PROGRAM

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: A113603 A056964 A052008 this_sequence A095371 A055960 A007928

Adjacent sequences: A117460 A117461 A117462 this_sequence A117464 A117465 A117466

KEYWORD

easy,nonn,base

AUTHOR

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

page 1

Search completed in 0.004 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research