A051832 Numbers k such that (2*10^(5*k) - 10^(4*k) + 2*10^(3*k) + 10^(2*k) + 10^k + 1)/3 is prime.
0, 1, 7, 133
Offset: 1
Links
- Ed Pegg, Jr., Fun with numbers.
- Eric Weisstein's World of Mathematics, Baxter-Hickerson Function.
Crossrefs
Programs
-
Maple
f := n->(2*10^(5*n) - 10^(4*n) + 2*10^(3*n) + 10^(2*n) + 10^n + 1)/3;
-
PARI
is(n)=isprime((2*10^(5*n)-10^(4*n)+2*10^(3*n)+10^(2*n)+10^n+1)/3) \\ Charles R Greathouse IV, Feb 17 2017
Comments