login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098877 Least k such that 3*(6*n)^k + 1 is prime. 1
1, 1, 3, 1, 3, 1, 1, 3, 1, 1, 1, 14, 2, 2, 1, 3, 1, 270, 12, 2, 1, 1, 8, 1, 3, 2, 1, 2, 1, 1, 12, 1, 11, 1, 1, 2, 2, 12, 3, 2, 1, 1, 8, 2, 1, 1, 2, 3, 1, 2, 1, 1, 11, 3, 1, 1, 14, 2, 1, 16, 24, 1, 4, 1, 1, 3, 9, 3, 66, 4, 1, 1, 3, 6, 3, 3, 2, 7, 1, 3, 1, 156, 3, 2, 1, 1, 1, 12, 77, 1, 5, 1, 20, 1, 3, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

FORMULA

a(A111094(n)) = 1. - Michel Marcus, Jul 28 2015

MATHEMATICA

f[n_] := Block[{k = 1}, While[ !PrimeQ[3*((6*n)^k) + 1], k++ ]; k]; Table[ f[n], {n, 96}] (* Robert G. Wilson v, Oct 21 2004 *)

CROSSREFS

Cf. A098876, A111094.

Sequence in context: A274613 A066975 A291634 * A225212 A091088 A335915

Adjacent sequences:  A098874 A098875 A098876 * A098878 A098879 A098880

KEYWORD

nonn

AUTHOR

Pierre CAMI, Oct 13 2004

EXTENSIONS

More terms from Robert G. Wilson v, Oct 21 2004

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 16 14:52 EDT 2021. Contains 346065 sequences. (Running on oeis4.)