Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #9 Nov 08 2016 07:42:54
%S 5,15,25,35,45,50,55,65,75,85,95,105,115,125,135,145,150,155,165,175,
%T 185,195,205,215,225,235,245,250,255,265,275,285,295,305,315,325,335,
%U 345,350,355,365,375,385,395,405,415,425,435,445,450,455,465,475,485
%N Numbers k such that k/10^m == 5 mod 10, where 10^m is the greatest power of 10 that divides n.
%C Positions of 5 in A065881.
%C Numbers having 5 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.
%C This sequence differs from A121025, which includes 540.
%t z = 460; a[b_] := Table[Mod[n/b^IntegerExponent[n, b], b], {n, 1, z}]
%t p[b_, d_] := Flatten[Position[a[b], d]]
%t p[10, 1] (* A277588 *)
%t p[10, 2] (* A277589 *)
%t p[10, 3] (* A277590 *)
%t p[10, 4] (* A277591 *)
%t p[10, 5] (* A277592 *)
%t p[10, 6] (* A277593 *)
%t p[10, 7] (* A277594 *)
%t p[10, 8] (* A277595 *)
%t p[10, 9] (* A277596 *)
%Y Cf. A277588-A277591, A277593-A277596.
%K nonn,easy,base
%O 1,1
%A _Clark Kimberling_, Nov 05 2016