login
A244956
Smallest positive multiple of n whose base-5 representation contains only 0's and 1's.
1
1, 6, 6, 156, 5, 6, 126, 656, 126, 30, 781, 156, 26, 126, 30, 656, 3281, 126, 3781, 780, 126, 3256, 3151, 97656, 25, 26, 756, 756, 15631, 30, 31, 3776, 16401, 3876, 630, 756, 3256, 3876, 156, 3280, 656, 126, 15781, 3256, 630, 16376, 3901, 472656, 15631, 150
OFFSET
1,2
LINKS
Ed Pegg Jr., 'Binary' Puzzle
Eric M. Schmidt, Sage code to compute this sequence (use b=5)
Chai Wah Wu, Pigeonholes and repunits, Amer. Math. Monthly, 121 (2014), 529-533.
MATHEMATICA
Module[{nn=10, b5}, b5=Rest[FromDigits[#, 5]&/@Tuples[{0, 1}, nn]]; Table[SelectFirst[b5, Mod[ #, n]==0&], {n, 100}]] (* Harvey P. Dale, Feb 01 2024 *)
CROSSREFS
Cf. A004285 (written in base 5), A004290, A244954-A244960.
Sequence in context: A170915 A328186 A123190 * A239532 A351793 A370711
KEYWORD
nonn,base
AUTHOR
Eric M. Schmidt, Jul 09 2014
EXTENSIONS
Data corrected, offset corrected, Mathematica program replaced, and b-file replaced by Harvey P. Dale, Feb 01 2024
STATUS
approved