A342605 Numbers k such that A342604(k) is prime.
1, 2, 4, 14, 20, 26, 31, 39, 42, 57, 64, 69, 87, 92, 114, 127, 150, 152, 172, 213, 274, 301, 326, 379, 436, 460, 499, 523, 597, 708, 747, 817, 819, 912, 1382, 1452, 1595, 1600, 1603, 1632, 1647, 1670, 1768, 1833, 1834, 1873, 1890, 1986, 2137, 2696, 2702, 2859, 3080, 3154, 3167, 3173, 3386, 3933
Offset: 1
Keywords
Examples
a(3) = 4 is a term because A342604(4) = 17 is prime.
Links
- Robert Israel, Table of n, a(n) for n = 1..1000
Programs
-
Maple
p:= 1: R:= NULL: for n from 0 to 14 do for k from 0 to n do p:= nextprime(p); R:= R, binomial(n,k)*p od od: S:= ListTools:-PartialSums([R]): select(t -> isprime(S[t]), [$1..nops(S)]);