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

A330291
a(1) = 1; for n > 1, a(n) = the smallest prime divisor of the number formed by the concatenation of a(1) to a(n-1) that has not previously appeared in the sequence.
2
1, 1, 11, 101, 3, 17, 65358901, 7, 109, 10193590070216413001, 359, 4007, 149, 43787, 169031777, 67, 13, 14767, 30323, 151651, 1194421, 31008087256045370298219860945197217288544368471059741857398977350440454626775436666667, 1087, 27457, 19301, 23, 22349
OFFSET
1,3
COMMENTS
The next term a(28) requires the factorization of a composite 195 digit number 49715...700001. Note that for the second term 1 is considered to be prime.
EXAMPLE
a(3) = 11 as the concatenation of a(1) and a(2) = '11' and 11, the smallest prime divisor of 11, has not appeared in the sequence.
a(4) = 101 as the concatenation of a(1)..a(3) is '1111' and 101 is the smallest prime divisor of 1111 which has not appeared in the sequence. Note that 11 also divides 1111 but a(3) = 11.
a(6) = 17 as the concatenation of a(1)..a(5) is '11111013' and 17 is the smallest prime divisor of 11111013 which has not appeared in the sequence. Note that 9 also divides 11111013 and has not appeared but only prime divisors are considered.
CROSSREFS
KEYWORD
nonn,more,hard,base
AUTHOR
Scott R. Shannon, Dec 09 2019
STATUS
approved