login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A095017 Number of lesser twin primes (A001359) in range ]2^n, 2^(n+1)]. 3
1, 1, 1, 2, 2, 3, 7, 7, 12, 26, 45, 70, 113, 215, 355, 666, 1153, 2071, 3785, 6965, 12495, 22643, 41608, 76371, 140944, 261752, 484968, 904799, 1689477, 3160113, 5928904, 11139071, 20970782, 39535081, 74697745, 141342490, 267812262, 508194094, 965623233, 1837147717 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
Conjecture: a(n) > 0 for all n. This holds for all n <= 100. - Charles R Greathouse IV, May 14 2012
LINKS
MATHEMATICA
Table[ps = Prime[Range[PrimePi[2^n] + 1, PrimePi[2^(n+1) + 1]]]; Count[Differences[ps], 2], {n, 25}] (* T. D. Noe, May 08 2012 *)
PROG
(PARI) a095017(maxex2)={my (L=List([1]), p2=8, n2=0, pp=5); forprime (p=7, 2^maxex2, if (p>p2, p2*=2; listput(L, n2); n2=0); if (p-pp==2, n2++); pp=p); Vec(L)};
a095017(30) \\ Hugo Pfoertner, Feb 05 2024
CROSSREFS
Sequence in context: A339826 A108041 A259254 * A141559 A351732 A211395
KEYWORD
nonn
AUTHOR
Antti Karttunen and Labos Elemer, Jun 01 2004
EXTENSIONS
a(34) and beyond from Jerry M Lagrou, Dec 02 2023
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 18 06:54 EDT 2024. Contains 374377 sequences. (Running on oeis4.)