OFFSET
0,2
COMMENTS
Binary equivalent to A062940, which uses decimal representation.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
EXAMPLE
21^2 = 441 = 110111001_2, requiring 9 digits.
MAPLE
r:= proc(n) local b; b:= isqrt(n); b+`if`(b^2<n, 1, 0) end:
a:= n-> `if`(n=0, 0, r(2^n) -r(2^(n-1)) +`if`(n=1, 1, 0)):
seq(a(n), n=0..50); # Alois P. Heinz, Sep 13 2012
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Andrew G. West (westa(AT)wlu.edu), Mar 13 2007
STATUS
approved