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!)
A217871 a(n)=b(n,1) where b(0,m)=m, b(n,m)=b(floor(n/4),m*2). 3
1, 2, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Part of the Newton integer square-root finding process. Establishes the upper bound a(n) >= A000196(n) for all n >= 0.
LINKS
FORMULA
a(n)=b(n,1) where b(0,m)=m; b(n,m)=b(floor(n/4),m*2).
a(n)=2^ceiling(A029837(n+1)/2).
PROG
(Common Lisp)
(defun A217871 (n)
(labels ((rec (n guess)
(if (zerop n)
guess
(rec (floor n 4) (* guess 2)))))
(rec n 1))) ; James Spahlinger, Oct 14 2012
CROSSREFS
Sequence in context: A195051 A219654 A096491 * A362872 A306390 A106160
KEYWORD
nonn
AUTHOR
James Spahlinger, Oct 13 2012
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 23 13:41 EDT 2024. Contains 371914 sequences. (Running on oeis4.)