![]() |
|
|
#12 | |
|
"Rashid Naimi"
Oct 2015
Remote to Here/There
3×5×137 Posts |
Quote:
n=1 3/1=3 n=2 38/2=19 n=3 381/3=127 n=4 3816/4=954 n=5 38165/5=7633 n=6 381654/6=63609 n=7 3816547/7=545221 n=8 38165472/8=4770684 n=9 381654729/9=42406081 n=10 3816547290/10=381654729 Last fiddled with by a1call on 2016-03-15 at 19:20 |
|
|
|
|
|
|
#13 | |
|
"Robert Gerbicz"
Oct 2005
Hungary
101110011002 Posts |
Quote:
|
|
|
|
|
|
|
#14 |
|
Romulan Interpreter
Jun 2011
Thailand
258B16 Posts |
You should report, if you went to 57. The oeis only mentions 40.
(edit: we found the sequence in oeis before, by searching for a1call's number, but didn't do any work in this direction). Last fiddled with by LaurV on 2016-03-16 at 03:19 |
|
|
|
|
|
#15 |
|
"Robert Gerbicz"
Oct 2005
Hungary
101110011002 Posts |
My sent draft is:
"There is no more term up to base=56; and no solution for base=60. Furthermore all base is even: if the number formed by the first (base-1) digits is x, then x is divisible by (base-1) and x==base*(base-1)/2 mod (base-1), because the base-th digit is zero. From this the base is even. We can also see that if the i-th leftmost digit is d, then gcd(base,i)=gcd(base,d). To see this let g=gcd(base,i) and the number formed by the first i digit is x, then i divides x=k*base+d for some k, from this g divides d. And obviously g divides base, so g divides gcd(base,d), but it can't be larger than g, otherwise say gcd(base,d)=h>g, then in every h-th position we see a digit divisible by h, and the i-th digit is also divisible by h. This is a contradiction, there would be more than base/h digits divisible by h." |
|
|
|
|
|
#16 | |
|
"Rashid Naimi"
Oct 2015
Remote to Here/There
205510 Posts |
Quote:
Well if each ring is connected to 2 neighboring rings in a circular configuration and every other ring is connected to 1 of their neighbor's neighbor, then there could be nx4 rings for any integers n (i.e. 4, 8, 12, ...) If the rings don't form a circular configuration then the number would be nx4+1 for any integers n. (I.e. 5, 9, 13, ....) That might satisfy the constraints. Last fiddled with by a1call on 2016-03-16 at 06:21 |
|
|
|
|
|
|
#17 |
|
Romulan Interpreter
Jun 2011
Thailand
258B16 Posts |
For the third problem the answer is zero. The condition of being impossible to distinguish between any pairs implies that all the rings are either not connected at all, either all pairwise connected (i.e. any ring goes through all the others). Because otherwise, you could carefully pick a pair of rings which are connected, and a pair of rings which are not connected (not necessarily disjunct, for example AB and CD, or AB and AC), and here is your differentiation: one pair is connected, one is not. So, you either have a lot of separate rings, not connected at all, in which case there is no way to make any distinction between triplets, or you have all rings in a big chinese-rings-fashion ball (think ball of yarn) in which case there is no way to distinguish triplets either.
A more relaxed interpretation of the "left-right" condition allows a solution with either 4 or 7 rings, and one with infinity (or well, depending on the diameter of the wire from which the rings are made, you still connect all such each go through all the others, but some go circularly, some go straight - think about in how many ways you can connect three rings together, then you have your triplets distinction). The problem is intentionally vague formulated, they won't willingly give you one year worth of pizza, they want only the advertising part of it, but not many winners. edit: the second problem is still interesting, tho. Last fiddled with by LaurV on 2016-03-16 at 07:00 |
|
|
|
|
|
#18 |
|
"NOT A TROLL"
Mar 2016
California
197 Posts |
Thanks! This forum was very helpful! I'm getting free pizza for 3.14 years thanks to all of you!
|
|
|
|
|
|
#19 |
|
Jun 2003
10011101111002 Posts |
|
|
|
|
|
|
#20 |
|
"Rashid Naimi"
Oct 2015
Remote to Here/There
3×5×137 Posts |
I think the actual number of trials is substantially less, since a foreach function will exit the loop as soon as the 1st test fails. So the loop will be exited as soon as the test 127/3 is not integer and 1274, 1276,... won't be tested.
|
|
|
|
|
|
#21 |
|
"NOT A TROLL"
Mar 2016
California
C516 Posts |
Just fooling around here. lol. You guys don't really care anyway.
Last fiddled with by PawnProver44 on 2016-03-16 at 19:14 |
|
|
|
|
|
#22 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Own a piece of meth history, for free! | Xyzzy | Lounge | 133 | 2016-10-21 05:30 |
| Logo contest | ET_ | Operazione Doppi Mersennes | 17 | 2012-10-25 16:25 |
| Run to the Top Contest - Closed | Joe O | Sierpinski/Riesel Base 5 | 12 | 2010-10-11 16:22 |
| Interesting contest... | Xyzzy | Programming | 0 | 2004-05-20 12:52 |
| M40 Poster Contest! | Xyzzy | Lounge | 17 | 2004-02-15 06:48 |