A247092 Limiting sequence obtained by taking the sequence of Mersenne numbers 2^n-1, n=1,2,...(A000225) and applying an infinite process which is described in the comments.
1, 0, 4, 2, 0, 32, 8, 1, 0, 64, 4, 0, 1024, 32, 0, 32768, 512, 4, 0, 16384, 64, 0, 1048576, 2048, 2, 0, 131072, 64, 0, 16777216, 4096, 0, 4294967296, 524288, 32, 0, 134217728, 4096, 0, 68719476736, 1048576, 8, 0, 536870912, 2048, 0, 549755813888, 1048576, 1, 0
Offset: 1
Examples
T_inf(M) begins 1 00 100 0010 00000 100000 0001000 00000001 ......... Let n=4. Then the interval in the formula is [sqrt(7), sqrt(10)], so x=3 and a(4) = 2^(10-9) = 2.
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 1..3453 (all terms less than 10^1000)
Programs
-
PARI
a(n)=my(mx=n*(n+1)/2,s=sqrtint(mx)^2); if(s<=mx-n, 0, 2^(mx-s)) \\ Charles R Greathouse IV, Nov 19 2014
Formula
If there is an integer x in [sqrt((n-1)*n/2 +1), sqrt(n*(n+1)/2)] then it is unique and a(n) = 2^(n(n+1)/2-x^2); otherwise, a(n)=0.
Thus there are n/sqrt(2) + O(1) positive terms among the first n.
Extensions
a(25)-a(50) from Charles R Greathouse IV, Nov 19 2014
Comments