A353302 Numbers k such that A004394(k)-1 and A004394(k)+1 are twin primes.
3, 4, 5, 9, 11, 12, 24, 25, 76, 82, 105, 139, 217, 1370
Offset: 1
Examples
3 is a term since the third superabundant number is A004394(3) = 4 and {4-1, 4+1} = {3, 5} is a twin primes pair.
Programs
-
Mathematica
s = {}; abm = 0; k = 0; Do[ab = DivisorSigma[-1, n]; If[ab > abm, abm = ab; k++; If[PrimeQ[n - 1] && PrimeQ[n + 1], AppendTo[s, k]]], {n, 1, 10^6}]; s
Comments