OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
24 is in the sequence because |d(25) - d(24)| = |3 - 8| = 5 is a prime. - Emeric Deutsch, Jul 12 2009
MAPLE
with(numtheory): a := proc (n) if isprime(abs(tau(n+1)-tau(n))) = true then n else end if end proc: seq(a(n), n = 1 .. 250); # Emeric Deutsch, Jul 12 2009
MATHEMATICA
Flatten[Position[Partition[DivisorSigma[0, Range[250]], 2, 1], _?(PrimeQ[Abs[ First[#]-Last[#]]]&), {1}, Heads->False]] (* Harvey P. Dale, May 26 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jul 01 2009
EXTENSIONS
Extended by Emeric Deutsch, Jul 12 2009
STATUS
approved