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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098872 Least k such that 2*((6*n)^k) + 1 is prime. 0
1, 3, 1, 2, 1, 1, 2, 1, 1, 3, 2, 2, 1, 4, 1, 1, 2, 5, 1, 1, 4, 2, 1, 5, 3, 1, 2, 1, 1, 8, 1, 3, 1, 1, 1, 1, 66, 1, 6, 2, 3, 3, 5, 2, 1, 4, 7, 1, 9, 1, 1, 3, 6, 2, 1, 1, 96, 4, 1, 2, 1, 62, 1, 1, 9, 5, 159, 4, 1, 7, 1, 4, 1, 8, 2, 2, 2, 1, 2, 8, 2, 2, 1, 1, 1, 1, 54, 8, 1, 5, 1, 16, 1, 1, 2, 1, 7, 2, 4, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

EXAMPLE

2*((6*1)^1) + 1 = 13 prime, so a(1)=1

2*((6*2)^1) + 1 = 25 = 5^2

2*((6*2)^2) + 1 = 289 = 17^2

2*((6*2)^3) + 1 = 3457 prime, so a(2)=3

MATHEMATICA

lk[n_]:=Module[{k=1}, While[!PrimeQ[2(6n)^k+1], k++]; k]; Array[lk, 110] (* Harvey P. Dale, May 16 2012 *)

CROSSREFS

Sequence in context: A328569 A016569 A072801 * A349473 A167366 A139436

Adjacent sequences: A098869 A098870 A098871 * A098873 A098874 A098875

KEYWORD

nonn

AUTHOR

Pierre CAMI, Oct 13 2004

EXTENSIONS

Extended by R. J. Mathar, Nov 13 2009

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 December 28 19:31 EST 2022. Contains 359109 sequences. (Running on oeis4.)