login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137233 Number of n-digit even numbers. 5
5, 45, 450, 4500, 45000, 450000, 4500000, 45000000, 450000000, 4500000000, 45000000000, 450000000000, 4500000000000, 45000000000000, 450000000000000, 4500000000000000, 45000000000000000, 450000000000000000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
From Kival Ngaokrajang, Oct 18 2013: (Start)
a(n) is also the total number of double rows identified numbers in n digit.
For example:
n = 1: 01 23 45 67 89 = 5 double rows;
n = 2: 1011 1213 1415 1617 1819...9899 = 45 double rows;
n = 3: 100101 102103 104105...998999 = 450 double rows;
...
The number of double rows is also A030656. (End)
a(n) is also the number of n-digit integers with an even number of even digits (A356929); a(5) = 45000 is the answer to the question 2 of the Olympiade Mathématique Belge in 2004 (link). - Bernard Schott, Sep 06 2022
a(n) is also the number of n-digit integers with an odd number of odd digits (A054684). - Bernard Schott, Nov 07 2022
LINKS
Olympiade Mathématique Belge, OMB 2004, Finale Maxi, Question 2.
FORMULA
a(n) = 9*10^(n-1)/2 if n > 1. - R. J. Mathar, May 23 2008
EXAMPLE
a(2) = 45 because there are 45 2-digit even numbers.
PROG
(Python)
def A137233(n): return 9*10**(n-1)+1>>1 # Chai Wah Wu, Nov 11 2022
CROSSREFS
Sequence in context: A346580 A054318 A093140 * A357205 A001449 A371756
KEYWORD
easy,nonn,base
AUTHOR
Ctibor O. Zizka, Mar 08 2008
EXTENSIONS
Corrected and extended by R. J. Mathar, May 23 2008
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)