login
Numbers with at least two digits in which all digits except the rightmost are 0 or 5 and the rightmost is neither 0 nor 5.
2

%I #13 Oct 18 2020 13:54:47

%S 51,52,53,54,56,57,58,59,501,502,503,504,506,507,508,509,551,552,553,

%T 554,556,557,558,559,5001,5002,5003,5004,5006,5007,5008,5009,5051,

%U 5052,5053,5054,5056,5057,5058,5059,5501,5502,5503,5504,5506,5507,5508,5509,5551

%N Numbers with at least two digits in which all digits except the rightmost are 0 or 5 and the rightmost is neither 0 nor 5.

%C These are called f-type numbers, cf. A163396.

%H Harvey P. Dale, <a href="/A144162/b144162.txt">Table of n, a(n) for n = 1..1000</a>

%H <a href="/index/Ca#CARRYLESS">Index entries for sequences related to carryless arithmetic</a>

%t Flatten[Table[10#+r,{r,{1,2,3,4,6,7,8,9}}]&/@FromDigits/@(Join[{5},#]&/@ Flatten[ Table[Tuples[{0,5},f],{f,0,3}],1])] (* _Harvey P. Dale_, Oct 18 2020 *)

%Y Cf. A143712, A163396, A169984.

%K nonn,base

%O 1,1

%A _David Applegate_, _Marc LeBrun_ and _N. J. A. Sloane_, Aug 24 2010