|
Search: id:A064777
|
|
|
| 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
|
|
|
Search completed in 0.002 seconds
|