|
|
A201125
|
|
Differences between odd powers of 2 and the next smaller square.
|
|
5
|
|
|
1, 4, 7, 7, 28, 23, 92, 7, 28, 112, 448, 1792, 7168, 5503, 22012, 88048, 166831, 296599, 444943, 296863, 1187452, 4749808, 7135951, 4817239, 19268956, 77075824, 118490767, 94338007, 377352028, 1509408112, 3000631951, 5928526807, 11566105231, 21968416927, 39281659711, 59942622847, 45402459391, 181609837564, 726439350256
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 2^(2*n-1) - floor(sqrt(2^(2*n-1)))^2.
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|