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

A109936
Composite numbers between largest n-digit prime and the smallest (n+1) digit prime.
1
8, 9, 10, 98, 99, 100, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 9974, 9975, 9976, 9977, 9978, 9979, 9980, 9981, 9982, 9983, 9984, 9985, 9986, 9987, 9988, 9989, 9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999, 10000
OFFSET
1,1
MATHEMATICA
Flatten[Table[Range[NextPrime[10^n, -1]+1, NextPrime[10^n]-1], {n, 5}]] (* Harvey P. Dale, Nov 03 2011 *)
CROSSREFS
Sequence in context: A363760 A048000 A048081 * A114460 A120201 A188056
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Jul 19 2005
STATUS
approved