[go: up one dir, main page]

login
A061958
Numbers n such that n divides the (left) concatenation of all numbers <= n written in base 5 (most significant digit on right).
1
1, 32, 304, 639, 704, 903, 3151, 4112, 6713, 34992, 96977, 2628797, 3070243, 3661679, 8665399
OFFSET
1,2
COMMENTS
This sequence differs from A029522 in that all least significant zeros are kept during concatenation.
No more terms < 10^7.
EXAMPLE
See A061955 for example.
MATHEMATICA
b = 5; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[Reverse[IntegerDigits[#, b]], c], b], #] &] (* Robert Price, Mar 07 2020 *)
KEYWORD
nonn,base,more
AUTHOR
Larry Reeves (larryr(AT)acm.org), May 24 2001
EXTENSIONS
Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002
a(12)-a(15) from Lars Blomberg, Aug 26 2011
STATUS
approved