|
|
A120378
|
|
Integers n such that 2*11^n-1 is prime.
|
|
6
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
See comments for A057472. Examined in base 12, all n must be even and all primes must be 1-primes. For example, 241 is 181 in base 12.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = n-th integer k such that 2*11^k-1 is prime.
|
|
EXAMPLE
|
a(1)=2 since 2*11^2-1=241 is the first prime of this form.
|
|
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 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
more,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|