OFFSET
1,2
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..500
FORMULA
a(n) = 2^(2*n-1) - floor(sqrt(2^(2*n-1)))^2.
Apparently a(n) = A095803(n)/4 for n >= 1. - Hugo Pfoertner, Dec 07 2022
EXAMPLE
a(1)=2^1-1^1=1, a(2)=2^3-2^2=4, a(3)=2^5-5^2=32-25=7
MATHEMATICA
Table[2^n-Floor[Sqrt[2^n]]^2, {n, 1, 81, 2}] (* Harvey P. Dale, Feb 25 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Nov 27 2011
STATUS
approved