Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A109580
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A109580 Primes in A109579. +0
1
3, 3, 7, 7, 11, 11, 11, 11, 13, 13, 17, 17, 17, 17, 23, 23, 29, 29, 29, 29, 61, 61, 71, 71, 71, 71, 83, 83, 83, 83, 83, 83, 107, 107, 107, 107, 137, 137, 137, 137, 137, 137, 137, 137, 149, 149, 193, 193, 227, 227, 227, 227, 227, 227, 241, 241, 241, 241, 281, 281, 307 (list; graph; listen)
OFFSET

1,1

MAPLE

with(numtheory): a:=proc(n) if isprime(sum((pi(k+1)-pi(k))*(ithprime(k+1)-ithprime(k)), k=1..n))=true then sum((pi(k+1)-pi(k))*(ithprime(k+1)-ithprime(k)), k=1..n) else fi end: seq(a(n), n=1..230);

MATHEMATICA

an = Table[(PrimePi[n + 1] - PrimePi[n])*(Prime[n + 1] - Prime[n]), {n, 1, 400}] a[0] = 0; a[n_] := a[n] = a[n - 1] + an[[n]] aa = Flatten[Table[If[PrimeQ[a[n]] == True, a[n], {}], {n, 0, Length[an]}]]

CROSSREFS

Cf. A001223, A010051.

Sequence in context: A063212 A088147 A109579 this_sequence A128508 A083743 A126990

Adjacent sequences: A109577 A109578 A109579 this_sequence A109581 A109582 A109583

KEYWORD

nonn

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Jun 29 2005

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