|
|
A244958
|
|
Smallest positive multiple of n whose base-7 representation contains only 0's and 1's.
|
|
2
|
|
|
0, 1, 8, 57, 8, 50, 19608, 7, 8, 351, 50, 2409, 19608, 351, 56, 2745, 400, 16864, 134856, 57, 400, 399, 2794, 17158, 19608, 50, 19552, 351, 56, 137257, 120450, 16864, 2752, 2409, 16864, 350, 134856, 117993, 19608, 351, 400, 134849, 137256, 344, 16808, 2745
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
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=7)
Chai Wah Wu, Pigeonholes and repunits, Amer. Math. Monthly, 121 (2014), 529-533.
|
|
MATHEMATICA
|
Join[{0}, Module[{b701=Rest[FromDigits[#, 7]&/@Tuples[{0, 1}, 8]]}, Table[ SelectFirst[b701, Divisible[#, n]&], {n, 50}]]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Oct 18 2020 *)
|
|
CROSSREFS
|
Cf. A004287 (written in base 7), A004290, A244954-A244960.
Sequence in context: A009089 A296466 A202863 * A043071 A304352 A305915
Adjacent sequences: A244955 A244956 A244957 * A244959 A244960 A244961
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
Eric M. Schmidt, Jul 09 2014
|
|
STATUS
|
approved
|
|
|
|