A244609 Least prime divisor of 659*2^n-1.
2, 3, 5, 3, 13, 3, 5, 3, 73, 3, 5, 3, 7, 3, 5, 3, 13, 3, 5, 3, 977, 3, 5, 3, 7, 3, 5, 3, 13, 3, 5, 3, 31, 3, 5, 3, 7, 3, 5, 3, 13, 3, 5, 3, 73, 3, 5, 3, 7, 3, 5, 3, 13, 3, 5, 3, 13477, 3, 5, 3, 7, 3, 5, 3, 13, 3, 5, 3, 48430237, 3, 5, 3, 7, 3, 5, 3, 13
Offset: 0
Keywords
Examples
For n=4, 659*2^4-1 = 10543 = 13 * 811 so a(4) = 13.
Links
- Robert Israel, Table of n, a(n) for n = 0..355
- The Prime Pages, 659*2^800516-1
Programs
-
Magma
[PrimeDivisors(659*2^n-1)[1]: n in [0..100]]; // Bruno Berselli, Jul 02 2014
-
Maple
f:= proc(m) local F; F:= map(t -> t[1],ifactors(659*2^m-1,easy)[2]); F:= select(type,F,integer); if nops(F) = 0 then F:= map(t -> t[1],ifactors(659*2^m-1)[2]); min(F); else min(F) fi end proc; seq(f(n), n= 0 .. 100);
Comments