Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A118552
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A118552 Sum of the twin prime pairs less than 10^n. +0
4
20, 488, 24236, 1726412, 109114568, 7424366648, 545678596592, 41205774636932, 3234489739234676, 260643410442091112, 21446976192435396140, 1795640886305783918948 (list; graph; listen)
OFFSET

1,1

COMMENT

The Pari program can compute the first 9 terms in reasonable time. a(10) was computed by the program in the link. This took 13.5 hrs on a p4 2.53 ghz.

LINKS

Cino Hilliard, Sum of twin primes less than 10^n.

EXAMPLE

(3,5),(5,7) are the two twin prime pairs less than 10. These add up to 20, the

first term in the table.

PROGRAM

(PARI) sumtwins(n) = { local(x, j, s, sr, p10x); for(x=1, n, s=0; p10x=10^x; forstep(j=3, 10^x, 2, if(j+2 < p10x & ispseudoprime(j) & ispseudoprime(j+2), s+=j+j+2); ); print1(s", "); ) }

CROSSREFS

Sequence in context: A049382 A065412 A000827 this_sequence A092087 A008270 A130186

Adjacent sequences: A118549 A118550 A118551 this_sequence A118553 A118554 A118555

KEYWORD

hard,more,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 07 2006

EXTENSIONS

2 more terms from Giovanni Resta (g.resta(AT)iit.cnr.it), May 08 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research