A120378 Integers n such that 2*11^n-1 is prime.
2, 8, 248, 2474, 2900, 6600, 24746, 105704
Offset: 1
Examples
a(1)=2 since 2*11^2-1=241 is the first prime of this form.
Programs
-
Maple
for w to 1 do for k from 1 to 2000 do n:=2*11^k-1; if isprime(n) then printf("%d, %d",k,n) fi od od;
-
Mathematica
Select[Range[0, 200000], PrimeQ[2*11^# - 1] &] (* Robert Price, Nov 06 2015 *)
Formula
a(n) = n-th integer k such that 2*11^k-1 is prime.
Extensions
More terms from Ryan Propper, Jan 14 2008
a(7)-a(8) from Robert Price, Nov 06 2015
Comments