|
|
A162867
|
|
a(n) is the sum of all possible pairs of the first n primes.
|
|
0
|
|
|
4, 15, 40, 85, 168, 287, 464, 693, 1000, 1419, 1920, 2561, 3332, 4215, 5248, 6477, 7920, 9519, 11360, 13419, 15664, 18193, 20976, 24075, 27560, 31347, 35392, 39759, 44400, 49383, 55040, 61083, 67592, 74445, 81936, 89799, 98192, 107133, 116560
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Previous name was "Sums of pairs of primes."
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
List the pairs of the first 3 primes:
2,2
2,3
2,5
3,3
3,5
5,5
a(3)=40 because it is the sum of these pairs of primes.
|
|
MATHEMATICA
|
Table[Total[Flatten[Union[Sort/@Tuples[Prime[Range[n]], 2]]]], {n, 40}] (* Harvey P. Dale, Jan 17 2023 *)
|
|
CROSSREFS
|
Cf. A007504 (sum of the first n primes).
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|