login
A277594
Numbers k such that k/10^m == 7 mod 10, where 10^m is the greatest power of 10 that divides n.
9
7, 17, 27, 37, 47, 57, 67, 70, 77, 87, 97, 107, 117, 127, 137, 147, 157, 167, 170, 177, 187, 197, 207, 217, 227, 237, 247, 257, 267, 270, 277, 287, 297, 307, 317, 327, 337, 347, 357, 367, 370, 377, 387, 397, 407, 417, 427, 437, 447, 457, 467, 470, 477, 487
OFFSET
1,1
COMMENTS
Positions of 7 in A065881.
Numbers having 7 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]]
p[10, 1] (* A277588 *)
p[10, 2] (* A277589 *)
p[10, 3] (* A277590 *)
p[10, 4] (* A277591 *)
p[10, 5] (* A277592 *)
p[10, 6] (* A277593 *)
p[10, 7] (* A277594 *)
p[10, 8] (* A277595 *)
p[10, 9] (* A277596 *)
PROG
(PARI) is(n)=n && n/10^valuation(n, 10)%10==7 \\ Charles R Greathouse IV, Jan 31 2017
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Clark Kimberling, Nov 07 2016
STATUS
approved