|
|
A277571
|
|
Numbers k such that k/6^m == 5 (mod 6), where 6^m is the greatest power of 6 that divides k.
|
|
5
|
|
|
5, 11, 17, 23, 29, 30, 35, 41, 47, 53, 59, 65, 66, 71, 77, 83, 89, 95, 101, 102, 107, 113, 119, 125, 131, 137, 138, 143, 149, 155, 161, 167, 173, 174, 179, 180, 185, 191, 197, 203, 209, 210, 215, 221, 227, 233, 239, 245, 246, 251, 257, 263, 269, 275, 281
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Numbers having 5 as rightmost nonzero digit in base 6. This is one sequence in a 5-way splitting of the positive integers; the other four are indicated in the Mathematica program.
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
z = 260; a[b_] := Table[Mod[n/b^IntegerExponent[n, b], b], {n, 1, z}]
p[b_, d_] := Flatten[Position[a[b], d]]
|
|
PROG
|
(PARI) is(n) = Mod(n/6^valuation(n, 6), 6)==5 \\ Felix Fröhlich, Nov 02 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|