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

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098941 Numbers where 2 is the only even decimal digit. 2

%I

%S 2,12,21,22,23,25,27,29,32,52,72,92,112,121,122,123,125,127,129,132,

%T 152,172,192,211,212,213,215,217,219,221,222,223,225,227,229,231,232,

%U 233,235,237,239,251,252,253,255,257,259,271,272,273,275,277,279,291,292

%N Numbers where 2 is the only even decimal digit.

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

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

%t Select[Range[300],Union[Select[IntegerDigits[#],EvenQ]]=={2}&] _Harvey P. Dale_, May 20 2012

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

%o print "$_, " if (/^[123579]*2[123579]*$/)

%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 December 4 13:03 EST 2021. Contains 349526 sequences. (Running on oeis4.)