login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A378512
Numbers k such that 6^sigma(k) - k is a prime.
0
1, 7, 13, 77, 395, 2867, 3959, 5023
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
KEYWORD
nonn,more
AUTHOR
STATUS
approved