A244957 Smallest positive multiple of n whose base-6 representation contains only 0's and 1's.
1, 6, 6, 36, 1555, 6, 7, 216, 36, 9330, 253, 36, 1339, 42, 9330, 1296, 1513, 36, 7999, 55980, 42, 1518, 253, 216, 9325, 8034, 216, 252, 47995, 9330, 217, 7776, 1518, 9078, 12093235, 36, 37, 47994, 8034, 335880, 46699, 42, 43, 9108, 55980, 1518, 48175, 1296
Offset: 1
Links
- Eric M. Schmidt, Table of n, a(n) for n = 0..1000
- Ed Pegg Jr., 'Binary' Puzzle
- Eric M. Schmidt, Sage code to compute this sequence (use b=6)
- Chai Wah Wu, Pigeonholes and repunits, Amer. Math. Monthly, 121 (2014), 529-533.
Programs
-
Mathematica
Module[{nn=10,b6},b6=Rest[FromDigits[#,6]&/@Tuples[{0,1},nn]];Table[SelectFirst[ b6,Mod[#,n]==0&],{n,100}]] (* Harvey P. Dale, Feb 03 2024 *)
Extensions
Data corrrected, offset corrected, and b-file replaced by Harvey P. Dale, Feb 03 2024