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!)
A076565 Greatest prime divisor of 2n+1 (sum of two successive integers). 6
3, 5, 7, 3, 11, 13, 5, 17, 19, 7, 23, 5, 3, 29, 31, 11, 7, 37, 13, 41, 43, 5, 47, 7, 17, 53, 11, 19, 59, 61, 7, 13, 67, 23, 71, 73, 5, 11, 79, 3, 83, 17, 29, 89, 13, 31, 19, 97, 11, 101, 103, 7, 107, 109, 37, 113, 23, 13, 17, 11, 41, 5, 127, 43, 131, 19, 5, 137, 139, 47, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A006530(2n+1). - Robert Israel, Mar 17 2017
MAPLE
seq(max(numtheory:-factorset(2*n+1)), n=1..200); # Robert Israel, Mar 17 2017
MATHEMATICA
Table[FactorInteger[2n + 1][[-1, 1]], {n, 1, 100}] (* Indranil Ghosh, Mar 20 2017 *)
PROG
(PARI) for(n=1, 100, print1(vecmax(factor(2*n + 1)[, 1]), ", ")) \\ Indranil Ghosh, Mar 20 2017
(Python)
from sympy.ntheory import primefactors
print([max(primefactors(2*n + 1)) for n in range(1, 101)]) # Indranil Ghosh, Mar 20 2017
CROSSREFS
Cf. A006530.
Sequence in context: A090368 A120374 A088836 * A286517 A199423 A100029
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Oct 19 2002
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 8 13:24 EDT 2024. Contains 372333 sequences. (Running on oeis4.)