mersenneforum.org  

Go Back   mersenneforum.org > Search Forums

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: uau
Forum: Puzzles 2020-07-05, 22:21
Replies: 16
Views: 10,599
Posted By uau
Here's the program I used: ...

Here's the program I used:



#!/usr/bin/python3

from gmpy2 import is_prime

def rec(n, target, used=set(), res=1, divsum=1, last1=None, last2=None):
if n == 1:
Forum: Puzzles 2020-06-06, 23:32
Replies: 16
Views: 10,599
Posted By uau
Was due to a bug causing the program to skip some...

Was due to a bug causing the program to skip some values.
Forum: Puzzles 2020-06-01, 21:52
Replies: 16
Views: 10,599
Posted By uau
Not being a prime doesn't stop it from being...

Not being a prime doesn't stop it from being coprime to something else. gcd(x, 1)==1, so 1 is coprime to x, whatever x is.


But yeah 0 is not relevant, I wasn't really thinking when writing...
Forum: Puzzles 2020-06-01, 13:44
Replies: 16
Views: 10,599
Posted By uau
Has anyone been able to solve this? I wrote a...

Has anyone been able to solve this? I wrote a program to find all numbers with the given number of relative primes, but found no exact match for the divisor sum among those. Closest I got to the...
Showing results 1 to 4 of 4

 
All times are UTC. The time now is 22:32.


Sun Jul 25 22:32:22 UTC 2021 up 2 days, 17:01, 0 users, load averages: 1.88, 2.02, 2.08

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.