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

A144246
Prime numbers of the form 10^k +- 9.
2
19, 109, 991, 1009, 10009, 99991, 9999991, 1000000009, 1000000000000000009, 10000000000000000000009, 999999999999999999999999999999991, 999999999999999999999999999999999999999999991
OFFSET
1,1
COMMENTS
This sequence illustrates the base-n representation of numbers having the form n^k +- (n - 1).
MATHEMATICA
Select[Sort[Flatten[Table[10^n+{9, -9}, {n, 50}]]], PrimeQ] (* Harvey P. Dale, Jul 22 2016 *)
KEYWORD
nonn
AUTHOR
Reikku Kulon, Sep 15 2008
STATUS
approved