OFFSET
1,2
COMMENTS
a(9) > 10^5. - Michael S. Branicky, Dec 01 2024
EXAMPLE
7 is in the sequence because 6^sigma(7) - 7 = 6^8 - 7 = 1679609 is prime.
MATHEMATICA
a[n_] := Select[Range@ n, PrimeQ[6^DivisorSigma[1, #] - #] &]; a[20000]
DeleteCases[ParallelTable[If[PrimeQ[6^DivisorSigma[1, k]-k], k, n], {k, 1, 10^4}], n]
PROG
(Magma) [n: n in[1..10000] | IsPrime((6^SumOfDivisors(n)) - n)];
(PARI) isok(k) = ispseudoprime(6^sigma(k) - k); \\ Michel Marcus, Dec 09 2024
CROSSREFS
KEYWORD
nonn,more
AUTHOR
J.W.L. (Jan) Eerland, Nov 29 2024
STATUS
approved