a(1)=1; a(n)=least nonnegative integer such that the concatenation of all terms, including a(n), is == 1 (mod n).
A140274
a(1)=1; a(n)=least nonnegative integer such that the concatenation of all terms, including a(n), is == 1 (mod n).
Terms
- a(0) =1a(1) =1a(2) =2a(3) =1a(4) =1a(5) =1a(6) =4a(7) =5a(8) =3a(9) =1a(10) =14a(11) =9a(12) =7a(13) =7a(14) =1a(15) =3a(16) =0a(17) =3a(18) =19a(19) =21a(20) =2a(21) =5a(22) =7a(23) =21a(24) =26a(25) =7a(26) =36a(27) =33a(28) =19a(29) =11
External references
- oeis: A140274