a(1) = 2; thereafter a(n) = smallest number of copies of (the decimal expansion of) n that are needed to prefix A088061(n-1) with in order to get a prime (the prime being A088061(n)).

A088062

a(1) = 2; thereafter a(n) = smallest number of copies of (the decimal expansion of) n that are needed to prefix A088061(n-1) with in order to get a prime (the prime being A088061(n)).

Terms

    a(0) =2a(1) =1a(2) =2a(3) =3a(4) =2a(5) =1a(6) =12a(7) =634a(8) =623

External references