login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A058605 Numbers n such that 7*3^n - 2 is prime. 0
0, 1, 2, 5, 6, 7, 11, 14, 15, 17, 27, 30, 41, 150, 186, 359, 665, 690, 1029, 1150, 1575, 1879, 2010, 2439, 3197, 3625, 4107, 4635, 6417, 7791, 16354, 20610, 25889, 26310, 38689, 45826, 63410, 82726, 123109, 164574 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

a(41) > 2*10^5. - Robert Price, May 14 2015

LINKS

Table of n, a(n) for n=1..40.

MATHEMATICA

Do[ If[ PrimeQ[ 7*3^n - 2 ], Print[ n ] ], {n, 0, 2500} ]

PROG

(PARI) is(n)=ispseudoprime(7*3^n-2) \\ Charles R Greathouse IV, Jun 13 2017

CROSSREFS

Sequence in context: A059791 A043329 A023699 * A282183 A103025 A134080

Adjacent sequences:  A058602 A058603 A058604 * A058606 A058607 A058608

KEYWORD

nonn

AUTHOR

Robert G. Wilson v, Dec 26 2000

EXTENSIONS

a(30)-a(40) from Robert Price, May 14 2015

First term 0 inserted by Georg Fischer, Aug 01 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 12 13:59 EDT 2022. Contains 356077 sequences. (Running on oeis4.)