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!)
A368201 Least k such that 9*n*k+1 is a prime. 1
2, 1, 4, 1, 4, 2, 2, 1, 2, 2, 2, 1, 8, 1, 2, 3, 2, 1, 12, 1, 2, 1, 4, 2, 8, 4, 2, 3, 2, 1, 4, 2, 6, 1, 2, 4, 6, 6, 10, 5, 2, 1, 4, 1, 2, 2, 4, 1, 2, 4, 2, 2, 14, 1, 2, 2, 4, 1, 2, 1, 14, 2, 4, 1, 2, 3, 12, 1, 6, 1, 2, 2, 6, 3, 6, 3, 6, 5, 2, 3, 2, 1, 6, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
A368201 = {};
Do[k=1; While[!PrimeQ[9 n k+1], k++]; AppendTo[A368201, k], {n, 85}];
PROG
(PARI) a(n) = my(k=1); while (!isprime(9*n*k+1), k++); k; \\ Michel Marcus, Dec 16 2023
CROSSREFS
A070853 lists the corresponding primes.
Sequence in context: A040005 A193306 A053578 * A168177 A216864 A337175
KEYWORD
nonn
AUTHOR
Robert Price, Dec 16 2023
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 July 31 01:37 EDT 2024. Contains 374774 sequences. (Running on oeis4.)