OFFSET
1,1
COMMENTS
Previous name was "Sums of pairs of primes."
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
KEYWORD
nonn
AUTHOR
Mats Granvik, Jul 15 2009
EXTENSIONS
Name changed by Jon E. Schoenfield, Oct 13 2019
STATUS
approved