Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101983
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101983 Numbers that are not a count of primes between 2n and 4n. +0
4
11, 79, 134, 184, 186, 215, 245, 262, 284, 305, 387, 544, 694, 700, 706, 776, 814, 881, 939, 974, 1002, 1027, 1079, 1104, 1133, 1146, 1184, 1193, 1207, 1354, 1387, 1415, 1441, 1495, 1574, 1587, 1608, 1662, 1690, 1801, 1915, 1987, 2054, 2067, 2104, 2170 (list; graph; listen)
OFFSET

1,1

EXAMPLE

11 is the first number that does not equal a count of primes between 2n and 4n.

MATHEMATICA

f[n_] := PrimePi[4n] - PrimePi[2n]; t = Union[ Table[ f[n], {n, 12000}]]; Complement[ Range[ t[[ -1]]], t] (from Robert G. Wilson v Feb 10 2005)

PROGRAM

(PARI) bet2n4n(n) = { local(c, c1, x, y); a=vector(10001); for(x=1, n, c=0; forprime(y=2*x+1, 4*x-1, c++; ); a[x] = c; ); b=vecsort(a); for(x=1, 10000, if(b[x]>0, if(b[x+1]-b[x]>1, print1(b[x]+1", ") ) ); ) }

CROSSREFS

Complement of A101947.

Sequence in context: A041224 A030054 A140542 this_sequence A139953 A111067 A026841

Adjacent sequences: A101980 A101981 A101982 this_sequence A101984 A101985 A101986

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jan 28 2005

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Feb 10 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 30 22:12 EST 2008. Contains 150989 sequences.


AT&T Labs Research