![]() |
![]() |
#1 |
Jun 2003
160510 Posts |
![]()
Generate a sequence where the N+1 term is the product of all previous terms +1 and the t(N+1) is divisible byp(N+1) ie the Nth prime.
SO t(1) divisible by 1 t(2)=t(1)+1 and divisble by 2 t(3)=t(2)*t(1)+1 and divisble by 3 t(4)=t(3)*t(2)*t(1)+1 and divisble by 5. and so on... Good luck this is a hard problem, lets see who can generate the longest sequence. Can you find a algorithm to generate this sequence to some prime p? Citrix |
![]() |
![]() |
![]() |
#2 |
Jun 2003
160510 Posts |
![]()
There are multiple solution till each p but the smallest t(1) will be the correct one.
Citrix |
![]() |
![]() |
![]() |
#3 |
Sep 2005
UGent
748 Posts |
![]()
Let T = t(1). Then:
t(2) = T + 1 t(3) = t(2)*t(1) + 1 = (T + 1)*T + 1 = T^2 + T + 1 t(4) = t(3)*t(2)*t(1) + 1 = (T^2 + T + 1)*(T + 1)*T + 1 = T^4 + 2T^3 + 2T^2 + T + 1 By looking modulo 5, the condition that t(4) is divisible by 5 is impossible. The best sequence is thus: t(1) = 1 t(2) = 2 t(3) = 3 |
![]() |
![]() |
![]() |
#4 |
Jun 2003
64516 Posts |
![]()
cool solution, but the formula you generated for t4 is prime for 2,4,16,256.
All 2^2^n. Pretty cool. Are there any other primes of the form 2^2^n? Citrix |
![]() |
![]() |
![]() |
#5 |
Jun 2003
31058 Posts |
![]()
Also prime for 2^(2^6)
|
![]() |
![]() |
![]() |
#6 |
Jun 2003
31058 Posts |
![]()
no primes upto n=18
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reserved for MF - Sequence 276 | kar_bon | Aliquot Sequences | 169 | 2022-11-06 18:03 |
A new sequence | devarajkandadai | Miscellaneous Math | 3 | 2020-12-01 22:08 |
Primes in n-fibonacci sequence and n-step fibonacci sequence | sweety439 | sweety439 | 17 | 2017-06-13 03:49 |
A New Sequence | devarajkandadai | Math | 3 | 2007-03-20 19:43 |
sequence | biwema | Puzzles | 13 | 2004-06-11 02:05 |