A095138 Indices of primes in A095137(n).
1, 3, 4, 5, 6, 7, 17, 22, 25, 29, 34, 40, 58, 78, 99, 146, 249, 554, 767, 963
Offset: 1
Keywords
Crossrefs
Cf. A095137.
Programs
-
Mathematica
f[n_] := Abs[ Product[ Prime[i], {i, 2, n, 2}] + Product[ Prime[i], {i, 1, n, 2}]]; f[1] = 2; Do[ If[ PrimeQ[ f[n]], Print[n]], {n, 1000}]