Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A111228
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A111228 Numbers where the digits are alternatively even and odd and no digit is 0. +0
1
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; listen)
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 this_sequence A107743 A116066 A008816

Adjacent sequences: A111225 A111226 A111227 this_sequence A111229 A111230 A111231

KEYWORD

easy,nonn,base

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Oct 27 2005

EXTENSIONS

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 8 08:31 EST 2009. Contains 170430 sequences.


AT&T Labs Research