Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A057900
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A057900 Numbers n such that 3^n + n is prime. +0
2
2, 8, 34, 1532, 18248 (list; graph; listen)
OFFSET

1,1

COMMENT

Note that if n > 2 and n+1 is prime then (by Fermat's theorem) n+1 divides 3^n+n.

MATHEMATICA

Do[ If[ PrimeQ[ 3^n + n ], Print[ n ] ], {n, 0, 3000} ]

v={2}; Do[If[EvenQ[n]&&Mod[n, 3]!=0&&!PrimeQ[n+1]&&PrimeQ[3^n+n], v=Append[v, n]; Print[v]], {n, 3, 19000}]

CROSSREFS

Sequence in context: A126328 A013026 A121789 this_sequence A116618 A037723 A037618

Adjacent sequences: A057897 A057898 A057899 this_sequence A057901 A057902 A057903

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Nov 16 2000

EXTENSIONS

18248 from Farideh Firoozbakht (f.firoozbakht(AT)sci.ui.ac.ir), Aug 21 2003

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 December 2 11:54 EST 2009. Contains 167921 sequences.


AT&T Labs Research