• Welcome to SpeedSolving.com — the world’s largest puzzle community!

    You’re currently browsing as a guest, which means you have limited access to discussions, resources, member profiles, and community features.

    Join 50,000+ cubers and puzzle enthusiasts from around the world to ask questions, share solves, improve faster, and be part of the community.

    Registration is free, fast, and easy — create your account today.

    Already a member? Log in here to hide this message and start participating.

The CTRL + V game

Status
Not open for further replies.
Prime = 2000000*['True']
i=2
while i < 1416:
for j in range(2,2000000/i + 1):
Prime[i*j - 1] =''
i+=1
while Prime=='':
i+=1

Count=2000000*['0']

def NumFactors(x):
Factor=2
Divisors=1
Check=x
while Factor <= x:
if x%Factor !=0:
Factor+=1
while Prime[Factor-1]=='':
Factor+=1
else:
Count[Factor-1] = str(int(Count[Factor-1])+1)
x /= Factor
for k in range(2,Check+1):
if Count[k-1]!='0':
Divisors *= int(Count[k-1])+1
Count[k-1] = '0'
return Divisors

x=0
TriDiv=0
while TriDiv <= 500:
x+=1
if x%2==0:
TriDiv = NumFactors(x/2) * NumFactors(x+1)
else:
TriDiv = NumFactors(x)*NumFactors((x+1)/2)

print x*(x+1)/2

EDIT: The forum removed the indents from the code...
 
Report Post Reply With Quote Multi-Quote This Message Quick reply to this message
KrazyFK
View Public Profile
Send a private message to KrazyFK
Find More Posts by KrazyFK
Add KrazyFK to Your Buddy List
Unread 1 Minute Ago #512
waffle=ijm
Member

waffle=ijm's Avatar

Join Date: Jun 2008
Location: Waffletopia
Posts: 1,929
WCA Profile
Send a message via Skype™ to waffle=ijm

lol all cubers are weird
__________________
Roux.
waffle=ijm is offline Report Post Reply With Quote Multi-Quote This Message Quick reply to this message
waffle=ijm
View Public Profile
Send a private message to waffle=ijm
Send email to waffle=ijm
Find More Posts by waffle=ijm
Add waffle=ijm to Your Buddy List
Reply
Page 52 of 52 « First < 2 42 50 51 52
 
He has not talent. He doesn't write his own songs, play any real instruments in his songs, sing with his real voice, or make his own beats. He was created as a marketing character to lure young teen girls to pop music. The only reason you "like" listening to him is because you think he's attractive, but if he wasn't, you would stop listening. His songs are really easy to record in a studio. Sing, then fix up digitally. But when you have a band, they MAKE the music. That's why bands like Weezer, Gorillaz, Nirvana, Metalica, and even jazz and classical is better.
 
Lemme rephrase.

If you jump, someone will catch you.

But you have to jump. You have to be brave and just go.
 
Status
Not open for further replies.
Back
Top