Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096282
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096282 Sums of successive twin primes of order 2. +0
1
18, 22, 30, 42, 54, 66, 84, 108, 132, 156, 186, 222, 252, 276, 318, 378, 414, 426, 462, 522, 564, 588, 630, 690, 732, 756, 774, 786, 822, 882, 924, 948, 990, 1050, 1092, 1116, 1158, 1218, 1284, 1356, 1464, 1608, 1692, 1716, 1758, 1818, 1387 (list; graph; listen)
OFFSET

1,1

COMMENT

Order here refers to the depth of the iterations in successive sums. Order 0 is the twin primes, order 1 is the sums of order 0, order 2 is the sums of order 1 etc.

EXAMPLE

The twin prime quartet 3,5,5,7 has the first order sums 8,10,12 and the 2nd order sums 18,22 the first twi terms in the sequence.

PROGRAM

(PARI) \Sums of successive twin primes. = terms, m = order of sums. sucsumstw(n, m) = { local(a, b, i, j, k, p); a = vector(1001); b = vector(1001); p=1; forprime(j=3, n, if(isprime(j+2), a[p] = j; a[p+1] = j+2; p+=2; ) ); for(i=1, m, for(j=1, n+n, b[j] = a[j]+ a[j+1]; ); a=b; ); for(k=1, p-2, print1(a[k]", "); ) }

CROSSREFS

Adjacent sequences: A096279 A096280 A096281 this_sequence A096283 A096284 A096285

Sequence in context: A090891 A121851 A049734 this_sequence A031407 A002505 A050772

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jun 23 2004

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 October 6 16:13 EDT 2008. Contains 144667 sequences.


AT&T Labs Research