Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A098160
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A098160 Numbers n with property that when writing down all the natural numbers from 0 to n one uses the same number of even and odd digits. +0
1
1, 3, 5, 7, 9, 10, 28, 29, 30, 48, 49, 50, 68, 69, 70, 88, 89, 90 (list; graph; listen)
OFFSET

1,2

COMMENT

The sequence seems to stop at 90.

EXAMPLE

[0,1,2,3,4,5,6,7,8,9,10] uses 6 even digits and 6 odd digits.

MATHEMATICA

f[n_] := Block[{id = Mod[ Flatten[ Table[ IntegerDigits[i], {i, 0, n}]], 2]}, Length[id] - 2Plus @@ id]; Select[ Range[ 100], f[ # ] == 0 &] (from Robert G. Wilson v Nov 03 2004)

CROSSREFS

Sequence in context: A091177 A066929 A165249 this_sequence A103701 A122799 A107315

Adjacent sequences: A098157 A098158 A098159 this_sequence A098161 A098162 A098163

KEYWORD

base,easy,nonn,fini,full

AUTHOR

Eric Angelini (eric.angelini(AT)kntv.be), Oct 25 2004

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 6 22:55 EST 2009. Contains 170429 sequences.


AT&T Labs Research