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

A080441
a(1) = 17, a(n) is the smallest prime obtained by inserting digits between every pair of digits of a(n-1).
4
17, 107, 10007, 100000007, 10000000000003037, 100000000000000000000000003000307, 10000000000000000000000000000000000000000000000000003000000030057
OFFSET
1,1
COMMENTS
Conjecture: Only one digit needs to be inserted between each pair of digits of a(n-1) to get a(n); i.e. a(n) contains exactly 2n-1 digits for n > 1.
The conjecture above is false: a(5) = 10000000000003037 has 17 digits instead of 2*5 - 1 = 9. A refined conjecture is: a(n) contains exactly 2^(n-1) + 1 digits for all n > 0. This follows trivially by induction from the initial conjecture above of only one digit needed between each pair, and the fact that we start with 17, a 2-digit number, and holds true at least till a(12).
LINKS
Julio Cesar Hernandez-Castro, Table of n, a(n) for n = 1..12
MATHEMATICA
a[n_] := Block[{d = IntegerDigits[n]}, k = Length[d]; While[k > 1, d = Insert[d, 0, k]; k-- ]; d = FromDigits[d]; e = d; k = 0; While[ !PrimeQ[e], k++; e = d + 10FromDigits[ IntegerDigits[k], 100]]; e]; NestList[a, 17, 6]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Feb 22 2003
EXTENSIONS
Edited and extended by Robert G. Wilson v, Feb 22 2003
STATUS
approved