OFFSET
0,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..70
FORMULA
a(n)-pi(a(n))-1 = 2^n.
EXAMPLE
composite[1] = composite[2^0] = 4, composite[2] = composite[2^1] = 6, composite[1024] = composite[2^10] = 1225, composite[1073741824] = composite[2^30] = 1130886504.
MATHEMATICA
Composite[n_Integer] := Block[ {k = n + PrimePi[n] + 1 }, While[ k != n + PrimePi[k] + 1, k = n + PrimePi[k] + 1]; Return[ k ]]; Table[ Composite[2^n], {n, 0, 36} ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 26 2001
EXTENSIONS
More terms from Robert G. Wilson v, Nov 26 2001
Definition corrected by N. J. A. Sloane, Jun 07 2009
Further corrections from Reinhard Zumkeller, Jun 24 2009
a(32)-a(33) from Chai Wah Wu, Apr 16 2018
STATUS
approved