Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Home / Developers / googajelou
Developer Profile

googajelou

Discovered public repositories for googajelou in the GitHub catalog.

↗

googajelou/prime-number

import math def gcd(a,b): a,b=max(a,b),min(a,b) c=1 while c: c=a%b a=b b=c return a def prime(n): gcdni=1 help=int(math.sqrt(n)) i=2 while i<int(help)+1: gcdni=gcd(n,i) if (gcdni!=1) : return gcdni i=i+1 return gcdni def primitive(n,m): n=n+1 list=[] i=0 while i<m: b=1 while b==1: if(prime(n)==1): b=0 list+=[n] n=n+1 i=i+1 return list number=input("please enter number:") start=input("please enter srart for find:") print primitive(start,number)

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.