|
|
A277555
|
|
Numbers k such that k/5^m == 3 (mod 5), where 5^m is the greatest power of 5 that divides k.
|
|
5
|
|
|
3, 8, 13, 15, 18, 23, 28, 33, 38, 40, 43, 48, 53, 58, 63, 65, 68, 73, 75, 78, 83, 88, 90, 93, 98, 103, 108, 113, 115, 118, 123, 128, 133, 138, 140, 143, 148, 153, 158, 163, 165, 168, 173, 178, 183, 188, 190, 193, 198, 200, 203, 208, 213, 215, 218, 223, 228
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Positions of 3 in A277543. Numbers that have 3 as their rightmost nonzero digit when written in base 5.
This is one sequence in a 4-way splitting of the positive integers; the other three are indicated in the Mathematica program.
|
|
LINKS
|
|
|
MATHEMATICA
|
z = 200; a[b_] := Table[Mod[n/b^IntegerExponent[n, b], b], {n, 1, z}]
p[b_, d_] := Flatten[Position[a[b], d]]
|
|
PROG
|
(PARI) isok(n) = n/5^valuation(n, 5) % 5 == 3; \\ Michel Marcus, Oct 20 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|