|
Search: id:A014342
|
|
|
| A014342 |
|
Convolution of primes with themselves. |
|
+0 3
|
|
| 4, 12, 29, 58, 111, 188, 305, 462, 679, 968, 1337, 1806, 2391, 3104, 3953, 4978, 6175, 7568, 9185, 11030, 13143, 15516, 18177, 21150, 24471, 28152, 32197, 36678, 41543, 46828, 52621, 58874, 65659, 73000, 80949, 89462, 98631, 108396, 118869, 130102
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
FORMULA
|
a(n) = Sum (p(i)*p(n+1-i)) i=1, ..., n where p(i) is the i-th prime.
|
|
EXAMPLE
|
a(2)=12 because a(2)=p(1)*p(2)+p(2)*p(1)=2*3+3*2=12
|
|
PROGRAM
|
(PARI) {m=40; u=vector(m, x, prime(x)); for(n=1, m, v=vecextract(u, concat("1..", n)); w=vector(n, x, u[n+1-x]); print1(v*w~, ", "))} - Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Apr 28 2004
|
|
CROSSREFS
|
Cf. A000040.
Sequence in context: A091521 A050898 A009845 this_sequence A086274 A128563 A062421
Adjacent sequences: A014339 A014340 A014341 this_sequence A014343 A014344 A014345
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
njas
|
|
EXTENSIONS
|
More terms from Felix Goldberg (felixg(AT)tx.technion.ac.il), Feb 01 2001
|
|
|
Search completed in 0.002 seconds
|