A370557 Numbers k such that A362555(k) = (5^k + 5*k)/5 is prime.
1, 2, 1014, 16058
Offset: 1
Programs
-
PARI
is(n) = ispseudoprime(5^(n-1)+n)
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
is(n) = ispseudoprime(5^(n-1)+n)
[5^n + 5*n: n in [0..30]];
I:=[1, 10, 35]; [n le 3 select I[n] else 7*Self(n-1)-11*Self(n-2)+5*Self(n-3): n in [1..30]];
Table[(5^n + 5 n), {n, 0, 30}] (* or *) CoefficientList[Series[(1 + 3 x - 24 x^2)/((1 - x)^2 (1 - 5 x)), {x, 0, 30}], x] LinearRecurrence[{7,-11,5},{1,10,35},30] (* Harvey P. Dale, Jul 23 2013 *)
a(n)=5^n+5*n \\ Charles R Greathouse IV, Apr 18 2013
Comments