[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A183178
Numbers k such that 7*(10^(2*k+1)-1)/9 - 5*10^k is prime.
2
0, 1, 3, 7, 10, 12, 480, 949, 1945, 7548, 8923
OFFSET
1,3
COMMENTS
Original name: Numbers n such that (7*10^(2n+1)-45*10^n-7)/9 is prime.
a(12) > 10^5. - Robert Price, Nov 02 2015
REFERENCES
C. Caldwell and H. Dubner, "Journal of Recreational Mathematics", Volume 28, No. 1, 1996-97, pp. 1-9.
FORMULA
a(n) = (A077777(n-1)-1)/2 for n>1.
MATHEMATICA
Do[If[PrimeQ[(7*10^(2n + 1) - 45*10^n - 7)/9], Print[n]], {n, 3000}]
PROG
(PARI) is(n)=ispseudoprime((7*10^(2*n+1)-45*10^n-7)/9) \\ Charles R Greathouse IV, Jun 13 2017
KEYWORD
nonn,base
AUTHOR
Ray Chandler, Dec 28 2010
EXTENSIONS
Name edited and a(1) = 0 inserted by M. F. Hasler, Feb 07 2020
STATUS
approved