Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096839
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096839 Number of primes in the neighborhood of n^2 with radius Ceiling[Log[n^2]]. +0
2
0, 3, 2, 3, 2, 1, 2, 3, 2, 3, 0, 2, 3, 4, 3, 2, 2, 0, 2, 2, 2, 3, 1, 3, 2, 3, 2, 1, 1, 1, 1, 3, 3, 3, 4, 5, 3, 3, 1, 3, 0, 1, 1, 2, 3, 2, 3, 3, 2, 1, 2, 3, 2, 2, 2, 1, 3, 4, 0, 2, 2, 3, 1, 3, 4, 3, 3, 1, 1, 2, 1, 2, 2, 4, 1, 2, 2, 3, 1, 1, 3, 2, 1, 1, 2, 1, 3, 2, 2, 2, 3, 2, 2, 3, 1, 2, 3, 2, 3, 2, 2, 1, 3, 0, 1 (list; graph; listen)
OFFSET

1,2

EXAMPLE

n=10: a[10]=3 and the 3 primes in interval [95, 105] around 10^2=100 are {97,101,103};

MATHEMATICA

f[n_] := (PrimePi[n^2 + Ceiling[Log[n^2]]] - PrimePi[n^2 - Ceiling[Log[n^2]] - 1]); Table[ f[n], {n, 105}] (from Robert G. Wilson v Jul 14 2004)

CROSSREFS

Cf. A096509-A096523, A096830-A096840.

Sequence in context: A131498 A033093 A070032 this_sequence A099891 A096835 A064654

Adjacent sequences: A096836 A096837 A096838 this_sequence A096840 A096841 A096842

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Jul 14 2004

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 July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research