login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100902 Numbers n such that (6^n+1)^2-2 is prime. 1
0, 1, 2, 3, 4, 9, 12, 30, 49, 56, 115, 118, 376, 432, 1045, 1310, 6529, 7768, 8430, 21942, 26930, 33568 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

S. Harvey, Carol and Kynea Primes.

MAPLE

A100902:=n->`if`(isprime((6^n+1)^2-2), n, NULL): seq(A100902(n), n=0..1000); # Wesley Ivan Hurt, Nov 02 2014

MATHEMATICA

Select[Range[0, 2000], PrimeQ[(6^# + 1)^2 - 2] &] (* Vincenzo Librandi, Nov 03 2014 *)

PROG

(MAGMA) [n: n in [0..300] | IsPrime((6^n+1)^2-2)]; // Vincenzo Librandi, Nov 03 2014

(PARI) is(n)=ispseudoprime((6^n+1)^2-2) \\ Charles R Greathouse IV, Feb 19 2016

CROSSREFS

Sequence in context: A062410 A145772 A027866 * A034793 A134313 A220952

Adjacent sequences:  A100899 A100900 A100901 * A100903 A100904 A100905

KEYWORD

nonn,more

AUTHOR

Ray Chandler, Nov 21 2004

EXTENSIONS

Added 0 from Vincenzo Librandi, Nov 03 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified December 8 11:33 EST 2016. Contains 278943 sequences.