Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A091625
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A091625 Number of consecutive primes less than 10^n such that their sum is a perfect power (A091624). +0
1
1, 5, 8, 17, 34, 87, 203, 510, 1331 (list; graph; listen)
OFFSET

1,2

MATHEMATICA

NextPrim[n_] := Block[{k = n + 1}, While[ !PrimeQ[k], k++ ]; k]; PrimeExponents[n_] := Flatten[ Table[ #[[2]], {1}] & /@ FactorInteger[n]]; c = 0; p = q = 2; Do[ While[p < 10^n, q = NextPrim[p]; If[ Apply[ GCD, PrimeExponents[p + q]] > 1, c++ ]; p = q]; Print[c], {n, 1, 8}]

CROSSREFS

Cf. A001597, A091624.

Sequence in context: A088646 A090679 A031191 this_sequence A027601 A057592 A104321

Adjacent sequences: A091622 A091623 A091624 this_sequence A091626 A091627 A091628

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Jan 24 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 November 25 14:49 EST 2009. Contains 167514 sequences.


AT&T Labs Research