login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A342605 Numbers k such that A342604(k) is prime. 3
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
A342604(a(n)) = A342606(n).
EXAMPLE
a(3) = 4 is a term because A342604(4) = 17 is prime.
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)]);
CROSSREFS
Sequence in context: A336821 A299488 A295401 * A032398 A245764 A032309
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Mar 16 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 15 08:13 EDT 2024. Contains 375932 sequences. (Running on oeis4.)