Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152102
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152102 Semiprimes based on powers of two and primes: a(n)=If[PrimeQ[(2*n - 1)] && PrimeQ[(2*n + 1)], (2^(2*n - 1) - 1)*(2^(2*n + 1) + 1)]. +0
1
231, 3999, 16771071, 68719083519, 1152921502996234239, 19342813113827469725532159, 1329227995784915871174424803370074111, 22300745198530623141528634722924057038159871 (list; graph; listen)
OFFSET

1,1

COMMENT

Idea resulted from seqfan posts by Artur Jasinski (grafix(AT)csl.pl).

FORMULA

a(n)=a(n)=If[PrimeQ[(2*n - 1)] && PrimeQ[(2*n + 1)], (2^(2*n - 1) - 1)*(2^(2*n + 1) + 1)].

MATHEMATICA

a[n_] := If[PrimeQ[(2*n - 1)] && PrimeQ[(2*n + 1)], (2^(2*n - 1) - 1)*(2^(2*n + 1) + 1), {}]; Flatten[Table[a[n], {n, 1, 100}]]

CROSSREFS

Sequence in context: A117223 A160355 A029569 this_sequence A152500 A066370 A139412

Adjacent sequences: A152099 A152100 A152101 this_sequence A152103 A152104 A152105

KEYWORD

nonn

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Nov 24 2008

page 1

Search completed in 0.005 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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research