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

A378024
Smallest k >= 10 whose decimal representation read in base (n+10) is a multiple of k.
0
1913268348854, 11788, 1557, 126357, 145, 1038, 1757, 116, 153, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 10, 31, 16, 11, 17, 35, 12, 37, 19, 13, 10, 41, 14, 43, 11, 15, 23, 47, 12, 49, 10, 17, 13, 53, 18, 11, 14, 19, 29, 59, 10, 61
OFFSET
1,1
COMMENTS
This is a variation of A139285 that has terms beyond n=10.
EXAMPLE
a(5)=145 because 145 read in base 15 is 1*15^2+4*15+5=290 = 2*145 and no other number below 145 has this property except for the trivial values < 10.
PROG
(PARI) a(n) = my(k=10); while(fromdigits(digits(k), n+10) % k, k++); k; \\ Michel Marcus, Nov 16 2024
CROSSREFS
Cf. A139285.
Sequence in context: A017543 A333977 A233609 * A233601 A233850 A351431
KEYWORD
base,nonn,new
AUTHOR
Sergio Pimentel, Nov 14 2024
EXTENSIONS
More terms from Michel Marcus, Nov 16 2024
STATUS
approved