All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Digits 251 in sequence (Posted on 2009-01-05) Difficulty: 2 of 5
When written as a decimal, the fraction m/n (with m < n, both positive integers) contains the consecutive digits 2, 5, 1 (in this order). Find the smallest possible n.

  Submitted by pcbouhid    
No Rating
Solution: (Hide)
If n * 0. ...251... = integer, then n * 0.251... = integer (where we simply delete the digits before 251). So it is sufficient to consider 0.251...

If n * 0.251 = integer, then n must be a multiple of 1000.

So assume n ≤ 1000. We require that [n * 0.251] = m, [n * 0.252] = m+1, for some m.

Let {x} denote the fractional part of x. Then since n * 0.252 - n * 0.251 = n/1000, we must have {n * 0.251} ≥ 1 - n/1000.

If n is a multiple of 4, then {n * 0.251} = {n/1000}, so we need n > 500.

If n = 1 mod 4, then {n * 0.251} = {0.25 + n/1000}, so n > 375.

Similarly, if n = 2 mod 4, then n > 250, and if n = 3 mod 4, then n > 125.

Thus the smallest candidate is 127, and 32/127 = 0.251...

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Puzzle AnswerK Sengupta2022-07-28 04:26:54
re(2): upper boundbrianjn2009-01-07 05:41:50
non-computer solution?Gamer2009-01-06 04:01:28
Solutioncomputer solutionCharlie2009-01-05 15:52:08
re: upper boundSing4TheDay2009-01-05 15:42:54
Some Thoughtsupper boundPaul2009-01-05 15:10:46
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (17)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information