# Number Of Prime factor (N.O.P.) Week 3 (Main Page)

$\large{Name\space of\space participants\space appearing}$ :

$\large{The\space program}$ :

The program have been edited a bit, so please use this new program not the one I shared before

  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 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]=[] print("processing%") for a in range(l,m): if a%(10**5)==0:print((a-l)/(m-l)*100) eval("a"+str(len(primefact(a)))+".append("+str(a)+")") print("processing finished. final data is below") for i in range(0,int(log(m,2))+1): print(eval("len(a"+str(i)+")")) 

$\large{Variable\space values}$ :

 Name of participant Value of $l$ Value of $m$
 Siddharth Chakravarty $2\times10^8$ $5\times10^6+2\times10^8$
 David Stiff $5\times10^6+2\times10^8$ $10^7+2\times10^8$
 Vinayak Srivastava $10^7+2\times10^8$ $5\times10^6+10^7+2\times10^8$
 Zakir Husain $5\times10^6+10^7+2\times10^8$ $3\times10^7+2\times10^8$

Note :

• If Akela Chana, Jeff Giff or anyone else is wishing to participate also then you may ask in the comments.

• If any of you will complete your work before the end of the week and wanted more then you can voluntarily ask for it.

• If you are having any doubts related to this then clear it here.

• If you know a better programming language then kindly suggest.

• For more information see On Most common number of prime factor!.

• In python $a^b$ is written as :  a**b  So don't write it in this format - ''a^b'' as it will not work properly.

• Analysis till $2\times10^8$ will be there on the Analysis Page soon!

Note by Zakir Husain
1 year, 1 month ago

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:

• Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
• Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
• Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$ ... $$ or $ ... $ to ensure proper formatting.
2 \times 3 $2 \times 3$
2^{34} $2^{34}$
a_{i-1} $a_{i-1}$
\frac{2}{3} $\frac{2}{3}$
\sqrt{2} $\sqrt{2}$
\sum_{i=1}^3 $\sum_{i=1}^3$
\sin \theta $\sin \theta$
\boxed{123} $\boxed{123}$

Sort by:

$\Large{Announcement:}$ New plan is here, everything is nearly changed now

- 5 months, 4 weeks ago

$\large{Announcement}$ : Week 3 shall be rescheduled. Maybe from 4th week of March, 2021.

- 8 months, 4 weeks ago

Ohk

- 8 months, 3 weeks ago

$\large{Announcement}:$ No week will be scheduled till $30$ September, 2020.

- 1 year ago

From now Pls sir

- 11 months, 1 week ago

Actually I had a lot of work here, that's why these days I'm unable to give time for Brilliant. @SRIJAN Singh

- 11 months ago

Okay When ever you will get time pls make

- 11 months ago

 1 2 l = 5*10**6 + 2*10**8 m = 10**7 + 2*10**8 

  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 0 261153 818319 1158870 1060061 746573 450997 248044 128719 65129 32110 15592 7523 3611 1766 796 396 179 88 39 20 8 4 0 2 1 0 0 

- 1 year, 1 month ago

Keep these up!

I am not joining though!

- 1 year, 1 month ago