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!)
A111322 Numbers n such that 8 divides prime(1)+...+prime(n). 1
11, 15, 17, 19, 21, 27, 29, 31, 37, 49, 71, 79, 83, 85, 95, 99, 101, 103, 107, 109, 111, 115, 119, 121, 135, 155, 159, 161, 163, 169, 171, 177, 181, 183, 185, 201, 205, 209, 213, 235, 237, 239, 247, 255, 257, 259, 261, 263, 273, 275, 279, 283, 285, 287, 305, 309, 317, 319 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Position[Accumulate@ Prime@ Range@ 320, _?(Mod[#, 8] == 0 &)][[All, 1]] (* Michael De Vlieger, Feb 05 2021 *)
PROG
(PARI) isok(n) = !(vecsum(primes(n)) % 8); \\ Michel Marcus, Feb 05 2021
CROSSREFS
Cf. A007504.
Sequence in context: A139065 A365329 A186404 * A069822 A116999 A309362
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 05 2005
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 April 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)