OFFSET
1,2
COMMENTS
No other terms below 3*10^10.
EXAMPLE
For k=7, we have 7654321_8 which is 2054353_10, and 2054353 = 7*293479.
MATHEMATICA
b = 8; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[IntegerDigits[#, b], c], b], #] &] (* Robert Price, Mar 12 2020 *)
PROG
(PARI) isok(k) = my(list=List()); forstep(i=k, 1, -1, my(d=digits(i, 8)); for (j=1, #d, listput(list, d[j])); ); (fromdigits(Vec(list), 8) % k) == 0; \\ Michel Marcus, May 20 2024
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
EXTENSIONS
More terms from Andrew Gacek (andrew(AT)dgi.net), Feb 20 2000
More terms from Larry Reeves (larryr(AT)acm.org), Jun 01 2001
Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002
a(23)-a(24) from Max Alekseyev, May 14 2011
a(25)-a(28) from Jason Yuen, May 19 2024
STATUS
approved