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

Home > Just Math
Ninety Seven and Divisibility Nuance (Posted on 2021-12-12) Difficulty: 2 of 5
Determine the minimum value of a positive integer N such that:
o N has the form: 97.......97, and:
o N is divisible by 99

No Solution Yet Submitted by K Sengupta    
Rating: 4.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(5): solution | Comment 9 of 10 |
(In reply to re(4): solution by Charlie)

Bug fixed:


First 50 found by


ct=0;
for p10=0:5
for mid=1:10^p10
    f=['%0' char(string(p10)) 'd'];
    b=sprintf(f,mid);
    ns=['97' b '97'];
    n=str2num(ns);
    if mod(n,99)==0
       disp(n)
       ct=ct+1;
       if ct>=50
          break          
       end
    end
end
end

      970497
     9702297
     9712197
     9722097
     9731997
     9741897
     9751797
     9761697
     9771597
     9781497
     9791397
    97000497
    97010397
    97020297
    97030197
    97040097
    97049997
    97059897
    97069797
    97079697
    97089597
    97099497
    97109397
    97119297
    97129197
    97139097
    97148997
    97158897
    97168797
    97178697
    97188597
    97198497
    97208397
    97218297
    97228197
    97238097
    97247997
    97257897
    97267797
    97277697
    97287597
    97297497
    97307397
    97317297
    97327197
    97337097
    97346997
    97356897
    97366797
    97376697
   970002297

  Posted by Charlie on 2021-12-12 19:30:50
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 (13)
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