![]() |
![]() |
#1 |
"Luke Richards"
Jan 2018
Birmingham, UK
25×32 Posts |
![]()
Hi all,
I've found a sequence of numbers which I have submitted to OEIS. Other contributors have taken an interest and found a simpler generating function to mine... ... except none of us know *why* it works. We don't want to include the function on the entry until we can explain why the simpler function outputs the same results. Essentially it comes down to this: Why is: equivalent to The sequence was defined using the first equivalence, but a pari script, which works in a way equivalent to the second equivalence, generates the same numbers in a fraction of the time. But I'm not enough of a number theorist to ger my head around it! |
![]() |
![]() |
![]() |
#2 | |
"Forget I exist"
Jul 2009
Dartmouth NS
20EB16 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Dec 2012
The Netherlands
2·3·5·61 Posts |
![]()
It's not entirely clear what you mean.
The conditions you have given relate to pairs of numbers k & x, and there exist positive integers k,x with k>x for which one condition holds and the other doesn't. So how are you defining the sequence? |
![]() |
![]() |
![]() |
#4 |
Jun 2003
154616 Posts |
![]()
I don't understand how this results in a sequence. Can you post both the original code that you used to generate, as well as the faster logic (along with the sequence itself)?
|
![]() |
![]() |
![]() |
#5 | |
"Luke Richards"
Jan 2018
Birmingham, UK
25×32 Posts |
![]() Quote:
This doesn't result in a sequence - it is a part of calculating a sequence. The entry on OEIS in draft (waiting for approval by an editor): https://oeis.org/history/view?seq=A298827&v=34 |
|
![]() |
![]() |
![]() |
#6 |
Jun 2003
2×7×389 Posts |
![]()
3^k+2 == 3^x+2 (mod 3^x+2)
3^k == 3^x (mod 3^x+2) 3^(k-x) == 1 (mod 3^x+2) QED EDIT: In PARI, you would do znorder( Mod(3, 3^x+2)) Last fiddled with by axn on 2018-01-29 at 14:46 |
![]() |
![]() |
![]() |
#7 | |
"Luke Richards"
Jan 2018
Birmingham, UK
4408 Posts |
![]() Quote:
And thank you for the patience you afforded me rather than just messaging me effectively saying "why don't you just learn some basic number theory?" and calling me an arrogant newbie. |
|
![]() |
![]() |
![]() |
#8 | |
Feb 2017
Nowhere
13×487 Posts |
![]() Quote:
The other congruence implies 3^x + 2 divides 3^k - 1. Does that help? |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Observational Number Theory | MattcAnderson | Miscellaneous Math | 8 | 2016-01-03 19:43 |
probabilistic number theory | wildrabbitt | Math | 57 | 2015-09-17 18:26 |
Ask a number theory question | wreck | Math | 4 | 2010-04-15 07:11 |
Easy number theory. | mfgoode | Puzzles | 2 | 2006-05-30 09:46 |
number theory help | math | Homework Help | 2 | 2004-05-02 18:09 |