First week of Number of Prime factor (N.O.P.) will be started from 26 July, 2020 .
But before that some important things to be mentioned for those who will be participating :
The task of each participant will be announced through a new notice on the day itself (i.e. 26 July, 2020)
Each and every participant kindly try to submit the input and the output both before the end of the week (i.e 2 August, 2020)
The program will be there on that notice itself with the value of variable and separately for each participants. It will be shown on a table like this one below :
NAME | Value of | Value of | Value of |
XYZ | 123 | 123 | 123 |
XYZ | 123 | 123 | 123 |
XYZ | 123 | 123 | 123 |
All participants can send their results on any day throughout the week.
Any one can join for this week till coming Sunday. After that names of participants for the next week will be registered.
Note :
Special request to Páll Márton to share the code (input) of this
Any suggestion can be made here.
If you have any doubt related to this then clear it here quickly!
Name of participants for week 1 is given below in the comments.
If you want to participate then give your name in the comments
See On Most common number of prime factor! for more information
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Participants of week 1:
@Aryan Sanghi
@Vinayak Srivastava
@Akela Chana
@Jeff Giff
@David Stiff
@Siddharth Chakravarty
Log in to reply
Sir, please remove my name. I have even downloaded the software, but I got a lot of assignments from school in this week. Maybe the online test will also be held soon. So, I need to complete my backlog, otherwise I will be left behind. Sorry that I could not participate, but I will help if you mention me for some small things, which won't take much time.
Log in to reply
Ok, I'll try to give you small ranges so that the task of yours can be completed faster. It will take less than 5 minutes. If still wanted to remove then you can ask for it again.
Log in to reply
Also you have the whole week for the task you can do it whenever you want
Log in to reply
@Páll Márton
Log in to reply
Log in to reply
thanks!
Log in to reply
I can’t run it on mobile since I don’t want to fry the CPU :( and I don’t have access to my computer recently
Log in to reply
2nd August,2020?
will you have your computer tillLog in to reply
Log in to reply
@Siddharth Chakravarty
I know that, I will mention the code in the notice (on 26 July) there the code will be written so that every one can copy and paste@Zakir Husain could you paste the code what you want us to run in the program, rather than we typing and looking from the image what you have posted, so that we can copy easily and there are no errors.
An important announcement : I′ve eliminated variable ′′k′′ , so in the table tomorrow variable k will not be there. The code will be provided with the variables (only ′′l′′ and ′′m′′) and there values.
Note :
What I've done is that I've wrote the variable k in terms of variable m, because I some how figured out that it depends on the value of ′′m′′, so i just removed it from the program which will be sent tomorrow, or you can ask if you want it now. But the list of the variable will not be sent today (as it is being prepared)
Log in to reply
Send it now @Zakir Husain
Log in to reply
Log in to reply
`
symbols, give the name of the programming language, line break, code, line break, again the three symbols.Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Python from math import * l=#type l here (value given to you) m=#type m here (value given to you) def primefact(x): if x==1:return [] if x%2==0:return [2]+primefact(x/2) if x%3==0:return [3]+primefact(x/3) for a in range(1,int(((x+1)**0.5)/6+1)+1): if x %(6*a-1)==0: return [6*a-1]+primefact(int(x/(6*a-1))) if x %(6*a+1)==0: return [6*a+1]+primefact(int(x/(6*a+1))) return [x] for b in range(0,1+int(log(m,2))): c=str(b) a="a"+c globals()[a]=[] for a in range(l,m): if a%(10**5)==0:print(a) eval("a"+str(len(primefact(a)))+".append("+str(a)+")")
Log in to reply
`
`
`
Python<whole code>
`
`
`
link
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Although I've send it here, it will be written separately in another note also (tomorrow).
Announcement: New plan is here, everything is nearly changed now