|
|
A277595
|
|
Numbers k such that k/10^m == 8 mod 10, where 10^m is the greatest power of 10 that divides k.
|
|
10
|
|
|
8, 18, 28, 38, 48, 58, 68, 78, 80, 88, 98, 108, 118, 128, 138, 148, 158, 168, 178, 180, 188, 198, 208, 218, 228, 238, 248, 258, 268, 278, 280, 288, 298, 308, 318, 328, 338, 348, 358, 368, 378, 380, 388, 398, 408, 418, 428, 438, 448, 458, 468, 478, 480, 488
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Numbers having 8 as rightmost nonzero digit in base 10. This is one sequence in a 10-way splitting of the positive integers; the other nine are indicated in the Mathematica program.
|
|
LINKS
|
|
|
MATHEMATICA
|
z = 460; a[b_] := Table[Mod[n/b^IntegerExponent[n, b], b], {n, 1, z}]
p[b_, d_] := Flatten[Position[a[b], d]]
fQ[n_]:=Module[{sp=Split[IntegerDigits[n]]}, If[MemberQ[sp[[-1]], 0], sp = Drop[ sp, -1]]; MemberQ[sp[[-1]], 8]]; Select[Range[500], fQ] (* Harvey P. Dale, Sep 14 2018 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|