OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
ptQ[n_]:=Module[{n3=n+3}, Prime[n3]-(n3)DivisorSigma[0, n3]==Prime[n]- n*DivisorSigma[ 0, n]]; Select[Range[6300], ptQ] (* Harvey P. Dale, Jul 22 2012 *)
PROG
(PARI) f(n) = prime(n) - n * numdiv(n);
is(n) = n > 3 && f(n) == f(n+3); \\ Amiram Eldar, Apr 08 2024
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Feb 24 2002
STATUS
approved