Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A156555
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A156555 Primes of the form 3^n-4 +0
1
5, 23, 239, 10460353199, 617673396283943, 450283905890997359, 36472996377170786399, 19383245667680019896796719, 67585198634817523235520443624317919 (list; graph; listen)
OFFSET

1,1

FORMULA

If 3^n-4 is prime then a[m]=3^n-4

a(k) = 3^A058959(k)-4. [From M. F. Hasler (MHasler(AT)univ-ag.fr), Oct 31 2009]

EXAMPLE

For n=2, a)2)=5; n=3, a(3)=23; n=5, a(5)=239;

a(1) = 3^2-4 = 5 is the smallest prime of that form. [From M. F. Hasler (MHasler(AT)univ-ag.fr), Oct 31 2009]

PROGRAM

(PARI) for( k=2, 999, is/*pseudo*/prime( p=3^k-4 ) & print1(p", ")) [From M. F. Hasler (MHasler(AT)univ-ag.fr), Oct 31 2009]

CROSSREFS

Cf. A058959

Sequence in context: A167576 A116151 A156187 this_sequence A116652 A072104 A086797

Adjacent sequences: A156552 A156553 A156554 this_sequence A156556 A156557 A156558

KEYWORD

nonn

AUTHOR

Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Feb 10 2009

EXTENSIONS

Corrected a(5). M. F. Hasler (MHasler(AT)univ-ag.fr), Oct 31 2009

page 1

Search completed in 0.004 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 December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research