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!)
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
a(n) = (n+1)*A007504(n). - Charlie Neder, Feb 04 2019
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).
Sequence in context: A291555 A336995 A053698 * A336971 A059140 A031164
KEYWORD
nonn
AUTHOR
Mats Granvik, Jul 15 2009
EXTENSIONS
Name changed by Jon E. Schoenfield, Oct 13 2019
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 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)