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

A098147
Difference between first odd semiprime > 10^n and 10^n.
7
5, 11, 3, 1, 1, 1, 1, 1, 13, 3, 7, 7, 15, 13, 3, 3, 15, 7, 1, 19, 3, 19, 13, 29, 7, 7, 3, 27, 13, 3, 1, 9, 9, 9, 27, 7, 3, 7, 49, 55, 81, 3, 3, 9, 7, 11, 69, 7, 19, 13, 39, 7, 1, 3, 13, 13, 39, 77, 27, 63, 31, 51, 19, 9, 27, 3, 1, 39, 19, 41, 21, 67, 37, 63, 69, 33, 3, 9, 37, 67, 121, 9, 21
OFFSET
1,1
FORMULA
a(n)=A098146(n)-10^n.
EXAMPLE
a(2)=11: The first odd semiprime following 10^2 is 111=3*37; 111-100=11.
CROSSREFS
Cf. A098146, A033873 difference between first prime > 10^n and 10^n.
Sequence in context: A159199 A125683 A125685 * A100298 A066461 A351654
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Aug 28 2004
STATUS
approved