login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098947 Numbers where 5 is the only odd decimal digit. 1

%I

%S 5,25,45,50,52,54,55,56,58,65,85,205,225,245,250,252,254,255,256,258,

%T 265,285,405,425,445,450,452,454,455,456,458,465,485,500,502,504,505,

%U 506,508,520,522,524,525,526,528,540,542,544,545,546,548,550,552,554

%N Numbers where 5 is the only odd decimal digit.

%C This is a 10-automatic language. - _Charles R Greathouse IV_, Oct 03 2011

%H <a href="/index/Ar#10-automatic">Index entries for 10-automatic sequences</a>

%t Select[Range[600],Union[Select[IntegerDigits[#],OddQ]]=={5}&] (* _Harvey P. Dale_, Jun 13 2014 *)

%o (Perl) for (0..1000) {

%o print "$_, " if (/^[024568]*5[024568]*$/)

%o } # _Charles R Greathouse IV_, Oct 05 2011

%K base,easy,nonn

%O 1,1

%A _Eric Angelini_, Oct 21 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 18 23:35 EDT 2021. Contains 348071 sequences. (Running on oeis4.)