OFFSET
0,6
COMMENTS
Numbers k such that k^2 is the largest square less than the next power of 2. - Hugo Pfoertner, Sep 30 2022
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..440
MATHEMATICA
Join[{0, 0}, Table[Floor[Sqrt[2^(n - 2) - 1]], {n, 2, 50}]] (* G. C. Greubel, Oct 28 2017 *)
PROG
(Python)
from math import isqrt
def A116601(n): return isqrt((1<<n-2)-1) if n > 1 else 0 # Chai Wah Wu, Oct 13 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Mar 28 2006
EXTENSIONS
Edited by N. J. A. Sloane, May 10 2007
STATUS
approved