The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A189241 Smallest prime factor of 3^n+1 having the form 2*k*n+1. 2
5, 7, 41, 61, 73, 547, 17, 19, 1181, 67, 6481, 398581, 29, 31, 21523361, 103, 73, 2851, 41, 43, 5501, 23535794707, 97, 151, 53, 19441, 430697, 523, 47763361, 6883, 926510094425921, 67, 956353, 374857981681, 6481, 18427, 5301533, 79, 14401 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
The values of k are in A189240.
LINKS
EXAMPLE
a(4) = 41 because 3^4 + 1 = 2 * 41 ; the smallest prime divisor of the form 2*k*n+1 is 41 = 2*5*4+1.
MATHEMATICA
Table[p=First/@FactorInteger[3^n+1]; Select[p, Mod[#1, n] == 1 &, 1][[1]],
{n, 2, 40}]
CROSSREFS
Cf. A189240, A074476 (largest prime factor of 3^n + 1).
Sequence in context: A235139 A263448 A235365 * A167205 A123781 A120298
KEYWORD
nonn
AUTHOR
Michel Lagneau, Apr 19 2011
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 May 15 10:51 EDT 2024. Contains 372540 sequences. (Running on oeis4.)