login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A111228 Numbers where the digits are alternatively even and odd and no digit is 0. 0
1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 14, 16, 18, 21, 23, 25, 27, 29, 32, 34, 36, 38, 41, 43, 45, 47, 49, 52, 54, 56, 58, 61, 63, 65, 67, 69, 72, 74, 76, 78, 81, 83, 85, 87, 89, 92, 94, 96, 98, 121, 123, 125, 127, 129, 141, 143, 145, 147, 149, 161, 163, 165, 167, 169, 181, 183 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

EXAMPLE

As an example: 236721 because 2 is even, 3 is odd, 6 is even, 7 is odd, 2 is even and 1 is odd. Again: 58 (5 odd and 8 even) is in the sequence but not 59 (both are odd).

MATHEMATICA

Select[Range[300], Length[Split[Mod[ #, 2] & /@ (id = IntegerDigits[ # ])]] == Length[id] && Times @@ id > 0 &] (*Chandler*)

CROSSREFS

Sequence in context: A130843 A087087 A050742 * A171827 A107743 A116066

Adjacent sequences:  A111225 A111226 A111227 * A111229 A111230 A111231

KEYWORD

easy,nonn,base

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (paoloplava(AT)gmail.com), Oct 27 2005

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Nov 01 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 23:53 EST 2012. Contains 205689 sequences.