login
A029462
Numbers k that divide the (right) concatenation of all numbers <= k written in base 17 (most significant digit on left).
1
1, 17, 256, 289, 809, 1792, 2329, 4352, 4913, 7055, 8704, 13285, 24565, 39509, 43520, 58880, 83521, 95744, 147968, 175616, 197120, 250563, 304640, 478720, 548029, 670208, 739840, 751689, 1000960, 1035776, 1192448, 1379840, 1419857, 1474816, 1553664, 1593557, 1753941
OFFSET
1,2
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..81
MATHEMATICA
b = 17; c = {}; Select[Range[10^4], Divisible[FromDigits[ c = Join[c, IntegerDigits[#, b]], b], #] &] (* Robert Price, Mar 11 2020 *)
PROG
(Python)
def ok(k): return concat_mod(17, k, k) == 0 # uses concat_mod by Jason Yuen in A029455
print([k for k in range(1, 10**5) if ok(k)]) # Michael S. Branicky, Apr 29 2026
KEYWORD
nonn,base
EXTENSIONS
More terms from David W. Wilson
a(34)-a(37) from Jinyuan Wang, May 03 2025
STATUS
approved