![]() |
![]() |
#12 | |
"Kebbaj Reda"
May 2018
Casablanca, Morocco
22×52 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#13 |
Jan 2017
9B16 Posts |
![]()
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.
|
![]() |
![]() |
![]() |
#14 |
Oct 2017
139 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. |
![]() |
![]() |
![]() |
#15 | |
"Walter S. Gisler"
Sep 2020
Switzerland
3×5 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:
|
|
![]() |
![]() |
![]() |
#16 |
Feb 2017
Nowhere
141358 Posts |
![]()
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).
|
![]() |
![]() |
![]() |
#17 |
"Walter S. Gisler"
Sep 2020
Switzerland
3×5 Posts |
![]() |
![]() |
![]() |
![]() |
#18 |
"Kebbaj Reda"
May 2018
Casablanca, Morocco
1448 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 | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
April 2021 | Xyzzy | Puzzles | 25 | 2021-05-04 22:37 |
March 2021 | tgan | Puzzles | 0 | 2021-02-28 13:30 |
January 2021 | tgan | Puzzles | 36 | 2021-02-09 21:29 |
February 2021 | Xyzzy | Puzzles | 11 | 2021-02-04 14:53 |