The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A056007 Difference between 2^n and largest square strictly less than 2^n. 1
 1, 1, 3, 4, 7, 7, 15, 7, 31, 28, 63, 23, 127, 92, 255, 7, 511, 28, 1023, 112, 2047, 448, 4095, 1792, 8191, 7168, 16383, 5503, 32767, 22012, 65535, 88048, 131071, 166831, 262143, 296599, 524287, 444943, 1048575, 296863, 2097151, 1187452, 4194303 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS FORMULA a(n) = 2^n - (ceiling(2^(n/2)) - 1)^2 = A000079(n) - (A017912(n) - 1)^2. - Vladeta Jovovic, May 01 2003 EXAMPLE a(5) = 2^5 - 5^2 =  7; a(6) = 2^6 - 7^2 = 15. CROSSREFS Cf. A051213. Cf. A056008. Sequence in context: A070324 A054155 A054058 * A316973 A213622 A246847 Adjacent sequences:  A056004 A056005 A056006 * A056008 A056009 A056010 KEYWORD nonn AUTHOR Henry Bottomley, Jul 24 2000 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified April 1 14:39 EDT 2020. Contains 333163 sequences. (Running on oeis4.)