mersenneforum.org May 2021
 User Name Remember Me? Password
 Register FAQ Search Today's Posts Mark Forums Read

2021-05-04, 14:34   #12
Kebbaj

"Kebbaj Reda"
May 2018
Casablanca, Morocco

2·47 Posts

Quote:
 Originally Posted by Kebbaj If A0 and A1 are coprime, the sequance would be trivial: “easy common factor of the sequence with no prime “. So for the sequence to be interesting it is essential that A0 and A1 would be coprime. GCD[A0,A1] must be = 1. I think that the webmaster did not write the relation of divisiblity between A0 and A1 because the question was to find a sequence of triplets with the conditions quoted 1 to 4 ”and the A0 A1 are simply to explain the goal of the question.
Sorry, in my answer, I meant if A0 and A1 are not coprime then the sequence would be trivial.

2021-05-04, 16:45   #13
uau

Jan 2017

23×3×5 Posts

Quote:
 Originally Posted by Dr Sardonicus The condition that the initial terms be relatively prime seems to have been assumed, but should have been stated.
The sentence "Our goal is to see how to generate a Fibonacci-like sequence without any prime numbers." would make more sense if it ruled out the obvious and trivial common factors solution. But I don't think this affects the problem itself - the stated requirement is to find a set of tuples, not just A0 and A1, so the lack of the condition doesn't make much difference. Given the form of the required answer, it doesn't seem to allow any trivial solution that would otherwise be forbidden.

 2021-05-05, 08:04 #14 Dieter   Oct 2017 112 Posts The text of the challenge is updated. 1) F_0 = 0 2) It's explicitly formulated that A_0 and A_1 have to be relatively prime.
2021-05-05, 11:48   #15
Walter

"Walter S. Gisler"
Sep 2020
Switzerland

1110 Posts

I believe I have solved the first part of the problem. I.e. I have a set of T triplets that satisfy the conditions 1-4.

However, I am a bit confused by the second part:

Quote:
 Given this set, one can generate $A_0$ and $A_1$ that satisfy $A_0$ is equivalent to $F_{m_k-a_k} modulo p_k$ $A_1$ is equivalent to $F_{m_k-a_k+1} modulo p_k$
Should there be a $A_0$ and $A_1$ that satisfies this for every $k$? Or is it sufficient if it is satisfied for one $k$? The problem specification isn't so clear about this, or am I missing something? I haven't checked my solution in detail yet, but currently, my intuition is that there isn't a pair of $A_0$ and $A_1$ that satisfies it for all k in my solution.

2021-05-05, 12:06   #16
Dr Sardonicus

Feb 2017
Nowhere

3×1,657 Posts

Quote:
Originally Posted by Walter
Quote:
 Given this set, one can generate $A_0$ and $A_1$ that satisfy $A_0$ is equivalent to $F_{m_k-a_k} modulo p_k$ $A_1$ is equivalent to $F_{m_k-a_k+1} modulo p_k$
Should there be a $A_0$ and $A_1$ that satisfies this for every $k$?
Yes. Using the condition that the pk are distinct, the existence of simultaneous solutions to all the congruences is guaranteed by the Chinese Remainder Theorem (CRT).

2021-05-05, 17:13   #17
Walter

"Walter S. Gisler"
Sep 2020
Switzerland

10112 Posts

Quote:
 Originally Posted by Dr Sardonicus Yes. Using the condition that the pk are distinct, the existence of simultaneous solutions to all the congruences is guaranteed by the Chinese Remainder Theorem (CRT).
Ah, right. That makes perfect sense.

 2021-05-15, 20:14 #18 Kebbaj     "Kebbaj Reda" May 2018 Casablanca, Morocco 5E16 Posts The error of ak condition (1.) is always in the text even after the update? ak can take the value 0. !! ak =0 is equivalent to ak = 60 but the condition 1 limits ak to the maximum of mk. On other hand i try to have a matrix of less than 17 elements triplets, but it may be impossible? Last fiddled with by Kebbaj on 2021-05-15 at 20:15

 Thread Tools

 Similar Threads Thread Thread Starter Forum Replies Last Post Xyzzy Puzzles 25 2021-05-04 22:37 tgan Puzzles 0 2021-02-28 13:30 tgan Puzzles 36 2021-02-09 21:29 Xyzzy Puzzles 11 2021-02-04 14:53

All times are UTC. The time now is 17:16.

Sun Oct 17 17:16:58 UTC 2021 up 86 days, 11:45, 0 users, load averages: 2.20, 2.16, 1.99

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.