login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088579 Primes of the form n*x^n + (n-1)*x^(n-1) + . . . + x + 1 for x=2. 0

%I #13 Mar 15 2023 12:39:51

%S 3,11,643,425987,1909526242005090307,

%T 23022895558580442706439279569724601504895911302154162237586282577237116573795771448387257510093253287303723617020373843853928820634751104133890051

%N Primes of the form n*x^n + (n-1)*x^(n-1) + . . . + x + 1 for x=2.

%C Sum of reciprocals = 0.4257999816852453227652727311..

%e 2*2^2 + 1*2 + 1 = 11

%t Select[Table[1+Sum[k 2^k, {k,n}], {n,1000}], PrimeQ] (* _T. D. Noe_, Nov 15 2006 *)

%o (PARI) trajpolyp(n1,k) = { s=0; for(x1=0,n1, y1 = polypn2(k,x1); if(isprime(y1),print1(y1, ","); s+=1.0/y1; ) );

%o polypn2(n,p) = { x=n; y=1; for(m=1,p, y=y+m*x^m; ); return(y) }

%o trajpolyp(10,2)

%Y Cf. A055469 (for x=1).

%K nonn

%O 1,1

%A _Cino Hilliard_, Nov 20 2003

%E Corrected by _T. D. Noe_ and _Don Reble_, Nov 15 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)