|
| |
|
|
A103208
|
|
Numbers n such that 3 divides prime(1)+...+prime(n).
|
|
2
| |
|
|
10, 16, 18, 20, 24, 26, 28, 30, 32, 34, 36, 40, 42, 44, 46, 52, 54, 57, 68, 70, 74, 76, 78, 80, 82, 84, 86, 88, 90, 97, 99, 103, 105, 107, 111, 113, 119, 121, 123, 125, 127, 129, 134, 136, 138, 161, 163, 166, 169, 175, 177, 179, 185, 187, 195, 197, 199, 203, 205, 207, 211, 213
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| Also, numbers n such that 3 divides the concatenation of the first n primes (see A019518).
|
|
|
LINKS
| Hisanori Mishima, Smarandache consecutive prime sequences (n = 1 to 100).
|
|
|
MAPLE
| s1:=[2]; M:=1000; for n from 2 to M do s1:=[op(s1), s1[n-1]+ithprime(n)]; od: s1;
f:=proc(k) global M, s1; local t1, n; t1:=[]; for n from 1 to M do if s1[n] mod k = 0 then t1:=[op(t1), n]; fi; od: t1; end; f(3);
|
|
|
MATHEMATICA
| f[n_] := FromDigits[ Flatten[ Table[ IntegerDigits[ Prime[i]], {i, n}]]]; Select[ Range[ 206], Mod[f[ # ], 3] == 0 &] (Robert G. Wilson v)
|
|
|
CROSSREFS
| Cf. A019518, A104644, A007504, A111287.
Sequence in context: A109891 A104869 A104868 * A192221 A106695 A053747
Adjacent sequences: A103205 A103206 A103207 * A103209 A103210 A103211
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Robert G. Wilson v (rgwv(AT)rgwv.com), Mar 19 2005
|
|
|
EXTENSIONS
| Entry revised by N. J. A. Sloane (njas(AT)research.att.com), Nov 09 2005
|
| |
|
|