Mathematics
12 Online
OpenStudy (dan815):
Find the least multiple of n, where all the digits used <=2
ex|
f(2)=2
f(3)=12
f(7)=21
.
.
.
problem ref: https://projecteuler.net/problem=303
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (anonymous):
Which language are you using?
OpenStudy (dan815):
probably matlab, or python
OpenStudy (anonymous):
OK lol I'm using C++. Hold on.
OpenStudy (dan815):
thats okay, lets just think of a cool way to find it for n then
OpenStudy (anonymous):
dang I was about to answer but u in collage lol, I'm in middle 8th
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (anonymous):
I don't wanna give the wrong answer
OpenStudy (anonymous):
well wrong help not answer
OpenStudy (dan815):
the question isnt college level its for all level its more of a question just for fun
OpenStudy (anonymous):
u sure?
OpenStudy (anonymous):
u know the answer? but u just doing this for fun?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (dan815):
no im gonna work on it too
OpenStudy (anonymous):
ohhh but idk it lol
OpenStudy (dan815):
dont give up xD
OpenStudy (dan815):
i have an idea
OpenStudy (dan815):
how about rewriting n as a sum of 2 numbers that can only have 1s and 0s
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (anonymous):
hey I got it :)
OpenStudy (dan815):
okay lets see it (:
OpenStudy (anonymous):
hmm, wait a second. i'm fixing something.
OpenStudy (dan815):
|dw:1452260763561:dw|