|
Search: id:A064101
|
|
|
| A064101 |
|
Primes p = p(k) such that p(k) + p(k+5) = p(k+1) + p(k+4) = p(k+2) + p(k+3). |
|
+0 1
|
|
| 5, 7, 19, 31, 97, 131, 151, 293, 587, 683, 811, 839, 857, 907, 1013, 1097, 1279, 2347, 2677, 2833, 3011, 3329, 4217, 4219, 5441, 5839, 5849, 6113, 8233, 8273, 8963, 9433, 10301, 10427, 10859, 11953, 13513, 13597, 13721, 13931, 14713, 15629, 16057
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
EXAMPLE
|
The first ten primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, and 29. Take just the fourth through the ninth and rearrange them such that the first pairs with the sixth, the second with the fifth, and the third with the fourth as follows: 7 and 23, 11 and 19, and 13 and 17. All three pairs sum to 30. Therefore a(2) = 7.
|
|
MATHEMATICA
|
a = {0, 0, 0, 0, 0, 0}; Do[ a = Delete[ a, 1 ]; a = Append[ a, Prime[ n ] ]; If[ a[ [ 1 ] ] + a[ [ 6 ] ] == a[ [ 2 ] ] + a[ [ 5 ] ] == a[ [ 3 ] ] + a[ [ 4 ] ], Print[ a[ [ 1 ] ] ] ], {n, 1, 20000} ]
|
|
CROSSREFS
|
Cf. A022885.
Sequence in context: A023246 A022889 A001562 this_sequence A018581 A073652 A106987
Adjacent sequences: A064098 A064099 A064100 this_sequence A064102 A064103 A064104
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 17 2001
|
|
|
Search completed in 0.002 seconds
|