Statistic Question.


by Abderrahim
Tags: statistic
Abderrahim
Abderrahim is offline
#1
Aug17-10, 11:04 PM
P: 1
How many times will the number 3 appear in counting numbers from 1 to 1000?

PS: Just joined the forums.
Phys.Org News Partner Science news on Phys.org
Going nuts? Turkey looks to pistachios to heat new eco-city
Space-tested fluid flow concept advances infectious disease diagnoses
SpaceX launches supplies to space station (Update)
Simon_Tyler
Simon_Tyler is offline
#2
Aug18-10, 05:44 AM
P: 313
Hi there,

I'm not sure if it's really statistics, and it sounds a bit like a homework question...

Here's a hint:
there's 1 3 in the units digit in every nnn0..nnn9
there's 10 3s in the tens digit in ever nn00..nn99
etc....

Mathematica can construct all of the digits and count the number of 3s using
Count[Flatten[IntegerDigits/@Range[1000]], 3]


Register to reply

Related Discussions
a simple statistic question Calculus & Beyond Homework 1
Basic F-statistic question Precalculus Mathematics Homework 1
Statistic Question!! Calculus & Beyond Homework 4
Here is a fun math statistic/probability question General Math 5
Statistic question General Math 6