A247024 Primes of the form x*(2^x - x) - 1.
3, 47, 347, 10139, 396527668833598369303619003, 1624796301562061610805093487, 2637188343637273091841153207596203623407
Offset: 1
Keywords
Links
- R. J. Cano, Table of n, a(n) for n = 1..11
Programs
-
Magma
[a: x in [0..450] | IsPrime(a) where a is x*(2^x - x)-1]; // Vincenzo Librandi, Oct 16 2014
-
Maple
A247024:=n->`if`(isprime(n*(2^n-n)-1),n*(2^n-n)-1,NULL): seq(A247024(n), n=1..10^2); # Wesley Ivan Hurt, Sep 13 2014
-
Mathematica
Select[Table[n(2^n - n) - 1, {n, 200}], PrimeQ] (* Alonso del Arte, Sep 09 2014 *)
-
PARI
listToVec(l:list,Comp,Omega=#l)=vector(Omega,i,l[i][Comp]); fplusg(x)=x*(2^x-x)-1; find_next_N_terms(N,resumeFrom:list=List(),verbose=0)= { my(s:list,q,j,F,N0); s=resumeFrom; q=#s; N0=q; if(q,j=s[q][1]); while(q
-
PFGW
ABC2 $a*(2^$a-$a)-1 a: from 2 to 100000 step 2 Charles R Greathouse IV, Sep 18 2014
Extensions
Edited: 'penultimate column' replaced by 'first subdiagonal'. - Wolfdieter Lang, Oct 16 2014
Comments