Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064777
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064777 Difference between prime(n) and pi(n) is divisible by n. +0
1
1, 2, 3, 18, 42, 95, 524, 273585, 1735537, 4406057, 4406063, 4406188, 4406196, 4406341, 4406539, 4406541, 28703894 (list; graph; listen)
OFFSET

1,2

FORMULA

Solutions to Mod[PrimPi[x]-Prime[x], x] = Mod[A000040[x]-A000720[x], x] = 0.

EXAMPLE

n=18: p[18]=61, Pi[18]=7 difference=54 is divided by n=18; n=273585, p[273585]=38, Pi[273585]=23927, difference=3830190=14*n; the quotients are: {2, 1, 1, 3, 4, 5, 7, 14}

(Prime[1735537] - PrimePi[1735537]) /1735537 = (27899177 - 130585)/1735537 = 16.

MATHEMATICA

Do[ If[ IntegerQ[ (Prime[n] - PrimePi[n])/n ], Print[n]], {n, 1, 6*10^7} ]

CROSSREFS

Cf. A000040, A000720, A065139.

Sequence in context: A073529 A134850 A163910 this_sequence A137784 A053195 A003693

Adjacent sequences: A064774 A064775 A064776 this_sequence A064778 A064779 A064780

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu) and Robert G. Wilson v (rgwv(AT)rgwv.com), Oct 18 2001

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research