A263686
Smallest prime factor of double Mersenne numbers.
Original entry on oeis.org
7, 127, 2147483647, 170141183460469231731687303715884105727, 338193759479, 231733529, 62914441, 295257526626031
Offset: 1
-
forprime(p=2,,q=2^p-1; !ispseudoprime(q) && next(); if(ispseudoprime(2^q-1), print1(2^q-1,", ");next()); forstep(r=2*q+1,+oo,2*q, !ispseudoprime(r) && next(); if(Mod(2,r)^q-1 == 0, print1(r,", ");next(2)))) \\ Jeppe Stig Nielsen, Aug 28 2019
A322568
Integers k such that the least prime factor of 2^k - 1 is not in A122094.
Original entry on oeis.org
169, 221, 323, 611, 779, 793, 923, 1121, 1159, 1271, 1273, 1349, 1513, 1717, 1829, 1919, 2033, 2077, 2197, 2201, 2413, 2533, 2603, 2759, 2873, 2951, 3097, 3131, 3173, 3193, 3211, 3281, 3379, 3599, 3721, 3757, 3791, 3937, 3953, 4043, 4199, 4223, 4309, 4331
Offset: 1
169 is included because the least prime factor of 2^169-1 is 4057, and the multiplicative order of 2 modulo 4057 is 169 which is not prime. The divisor 4057 is less than the "algebraic" divisor 2^13-1 = 8192 (Mersenne prime).
4199 (= 13*17*19) is included because the least prime factor of 2^4199-1 is 647, and the multiplicative order of 2 modulo 647 is 323 (= 17*19) which is not prime. The divisor 647 is less than the smallest "algebraic" divisor which is 2^13-1 = 8192 (Mersenne prime).
289 is NOT included; its least prime factor is 2^17 - 1.
1073 (= 29*37) is NOT included; its least prime factor is 223, but 223 is a divisor of one of the "algebraic" factors, namely 223 is a divisor of composite Mersenne number 2^37 - 1.
-
for(k=2,+oo,isprime(k)&&next();forprime(p=3,,if(Mod(2,p)^k-1==0,!isprime(znorder(Mod(2,p)))&&print1(k,", ");next(2))))
Showing 1-2 of 2 results.
Comments