A386519 Index of the smallest prime p such that the number of digits L in the repeating decimal period of 1/p equals the n-th prime.
5, 12, 13, 52, 2431, 16, 153888, 27417323062119920, 223378173194137397198, 452, 406, 150886, 23, 40, 2153717, 28, 92971458509, 130, 40998
Offset: 1
Examples
a(1) = 5, since the 5th prime, p = 11, has a repeating decimal period of length L = 2, and 2 = prime(1). There is no smaller prime for which the period length equals the 1st prime. n a(n) p L 1 5 11 2 2 12 37 3 3 13 41 5 4 52 239 7 5 2431 21649 11 6 16 53 13 7 153888 2071723 17
Extensions
a(8)-a(19) from Giovanni Resta, Jul 24 2025
Comments