A287915 Indices of primes in A007443.
1, 2, 3, 5, 9, 22, 25, 28, 32, 41, 99, 104, 138, 183, 225, 361, 641, 1636, 1719, 3191, 3590, 4144, 5340, 6372, 6893, 6915, 8429, 10024, 10546, 16401, 21636, 22612, 24813, 31416, 36065
Offset: 1
Links
- Lucas A. Brown, Python program.
Crossrefs
Cf. A007443.
Programs
-
Mathematica
A007443 = Table[Sum[Binomial[n-1, k-1]*Prime[k], {k, 1, n}], {n, 1, 1000}]; Select[Range[Length[A007443]], PrimeQ[A007443[[#]]]&] (* Vaclav Kotesovec, Dec 19 2020 *)
-
PARI
for(n=1,199,isprime(A007443(n))&&print1(n","))
Extensions
a(18)-a(22) from Jinyuan Wang, Dec 19 2020
a(23)-a(30) from Vaclav Kotesovec, Dec 19 2020
a(31)-a(35) from Lucas A. Brown, Mar 18 2024
Comments