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”).

A108159
Numbers n such that (initial n digits of decimal expansion of 1/243)-1 is prime.
0
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, 243.
MATHEMATICA
Do[ If[ PrimeQ[ Floor[10^n/243 - 1]], Print[n]], {n, 8000}] (* Robert G. Wilson v, Jun 10 2005 *)
PROG
(PARI) for(n=1, 999, if(isprime(floor(1/243*10^n)-1), print1(n", ")))
CROSSREFS
Cf. A021247.
Sequence in context: A317820 A318427 A318095 * A201429 A067322 A302378
KEYWORD
more,nonn,base,bref,dumb
AUTHOR
Jason Earls, Jun 07 2005
STATUS
approved