#elementary-number-theory
1 messages · Page 80 of 1
Because it's more efficient
for any group G and an element a of G. a^|G| = e ?
Yes
welp that eulers theorem then 
with G = (Z/n)*
group theory too op
anyways thnx for the help. ill get back to the book
Still don't know if arithmetic function stuff belongs here or in #advanced-number-theory, but is there a relation between $DGF(a_n)$ and $DGF(a_{n-1})$? Alternatively, a way to convert from DGFs to OGFs would help, because the transformation is trivial on ordinary generating functions.
I've tried using this formula (https://en.wikipedia.org/wiki/Generating_function_transformation#Polylogarithm_series_transformations) to convert, but it seems that is only practical in one direction.
In mathematics, a transformation of a sequence's generating function provides a method of converting the generating function for one sequence into a generating function enumerating another. These transformations typically involve integral formulas applied to a sequence generating function (see integral transformations) or weighted sums over the ...
tox
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
if your function is multiplicative you can imagine the euler factorization breaking it up to an OGF on every prime
I don't think there's a clean relationship between a_n and a_{n-1} because you're mixing multiplication and addition
do you know about modular arithmetic, like the chinese remainder theorem?
Nope
Nothing
Is something related to the "mod"?
Where I was at hs I sometimes searching about math (divulgation) I saw something like "5 mod 6"
Or something like that
yeah, I guess it's sort of hard to explain without having some experience with some basic number theory problems first
yeah, 5 mod 6 sorta stuff is sort of the starting point
Okay, so I guess it's better to first have more math knowledge before getting into that
yeah, like know a little bit like fermat's little theorem and just a little bit of time playing around with congruences, solving linear diophantine equations can't hurt
Okay
So that's like in Pokémon when you try accessing the league without medals. First I need the 8 medals
one of the first things that steps you in the direction of p-adics is learning hensel's lemma which is about solving congruences mod p^n
lol
yeah exactly like that
Well, let's just leave it for now. I must study first calculus because it's like the key to the rest of math
it turns out hensel's lemma is really newton's method from calculus
so you might be learning that normally, so don't forget about that one
Okay
Unfortunately it's not multiplicative. I was seeing if I could do anything interesting with the Dirichlet series of Mandelbrot orbits, but I guess Dirichlet series don't behave well with recursively defined sequences.
yeah, the recursion has to be done in a way that's relating to terms based on multiplication, not addition basically
but among powers of a prime, multiplication is just addition in the exponent, so it does look like an ordinary power series that way, but going n to n-1 breaks prime factorization so no go
I wonder if taking the exponential would work though, then addition becomes multiplication
if you want to relate a_n and a_{n-1} as coefficients on an ordinary generating function or exponential generating function, that's simple
no idea what you're really doing, I'd recommend looking at https://www2.math.upenn.edu/~wilf/gfology2.pdf
yeah, I've done that, but I get integral equations and I don't know what to do with those 
I've said as much as I can without seeing the actual problem itself I'm afraid lol
There isn't much of an actual problem, I'm just messing around with symbols. Just seeing if there's any interesting generating functions of the sequence z_n = z_{n-1}^2+z_0.
gotcha, well sounds fun
how to get this?
number theory go hard
Im trying to show that $g(x)=\lfloor x \rfloor +\lfloor x+\frac{1}{N}\rfloor +\lfloor x + \frac{2}{N} \rfloor + \ldots + \lfloor x+ \frac{N-1}{N} \rfloor=\lfloor Nx \rfloor$ is equal to $\lfoor Nx \rfloor$ via induction but Im having some trouble
kingphilip77
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
for base case $N=1$, I get the sum of x's + integers which isnt equal to floor(1x)=x
kingphilip77
I think that statement you’re trying to prove is false since as you pointed out, the base case doesn’t hold. Also the floor of x is x precisely when x is an integer
@urban peak
I am fairly certain it holds, instructor basically told us that
i must be doing something wrong
am i inducting on the wrong variable?
Hmm, well if this is supposed to be true for all Natural N, you just showed that’s false. Where exactly do each of the variables live?
integers
x is any real number actually
even if i fix N=1, and do base case for x=1, i get 1+2+3+...+1 = 1(1)
which is not true
you're wrong here
for N=1 and x=1 you get 1 + 2 = 3
its the sum of n+1 terms, not x terms
but yes, the statement is false, at least if its for all n in N and all x in R
I have to find an expression for S_2 and S_3 using elementary symmetric polynomials
https://cdn.discordapp.com/attachments/373217754666500097/862055632009560064/unknown.png
cant quite find a way to prove my answer even tho the result is pretty intuitive
using this notation, S_2 would obviously be e_1² - 2e_2 and S_3 would be e_1^3 - 3e^2e_1 + ne_3
https://cdn.discordapp.com/attachments/373217754666500097/862056402146295809/unknown.png
but i'm not sure how I can prove it
its all $N \geq 1$ and x reals
kingphilip77
@urban peak this statement is false and another person other than me has confirmed its false. Since x is supposed to be an arbitrary real number, and you can’t induct on x. You must induct on N, but again that statement you’re trying to prove is false
hm that is odd. what would the sum be equal to then?
@urban peak that is a good question that I’m interested in knowing the answer to. Unfortunately I don’t know what that sum would equal. It’s possible that that equation holds for sufficiently large N, but that’s just a guess
ok thanks ill lyk if i find anything more
@urban peak You're welcome; awesome thanks!
How do I approach this question?
x^(25)=2mod(133)
133 = 19 x 7 just to save some time for anybody else. also why tf is 133 not prime that’s gross
Solve the simultaneous system x^25=2 mod 7 and x^25=2 mod 19
why just x = 2 mod 19?
mb
x^6=1 mod 7 for any x
So x=2 mod 7
x^18=1 mod 19 for any x
Does anyone here have a program which does extended Euclidean algorithm ?
The idea is to compute a and b such that x^(25a)=2^a and x^(25a+18b)=x=2^a
Where 25a+18b=1
there’s gotta be a simpler solution than resorting to a program for this
o
Anyway you use CRT to combine those 2 congruencies
And get your solution
@copper canyon
You get a=-5 , which means
x=2^-5 mod 19=(10)^5 mod 19=3 mod 19
So your system is x=2 mod 7 and 3 mod 19
well now what
Now just CRT and you are done
x=2(19)(3)+3(7)(11) mod 133
x=345 mod 133
x=79 mod 133
*-*
The smallest number divisible by a_1 through a_n, is in particular divisible by a_n and by the smallest number divisible by a_1 through a_(n-1) (precisely because it is divisible by a_1 through a_(n-1))
Each problem has multiple facets
Some make it trivial is all
prime way is not too bad either since you're effectively looking at max(a,b,c)=max(max(a,b),c)
yeah, works too
What about for gcd? Is $$gcd(a_1, a_2, \ldots, a_n) = gcd(gcd(a_1, a2, \ldots, a{n-1}), a_n)$$
RisenSteam
The largest number that divides a_1 through a_n, in particular divides a_n and the largest number that divides a_1 through a_(n-1) (precisely because it divides a_1 through a_(n-1))
Likewise, if you look at it from the prime factor standpoint, we're saying that min(a,b,c)=min(min(a,b),c)
So yes? Sorry, i am quite new to number theory!
yup
thank you
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
pls
Yes
Why is this proof so... complicated
It just feels proving this is cyclic should be simple 🤔
Shuri2060
can Fermats little theorem be used to show a number is prime? i was under impression that it didn't work in that way, only could tell us if a number was composite
no it can't
awesome. are there any elementary tests like korselt criterion or rabin miller test that would tell me if a number was prime?
think that its same case as flt, they can only show if a number is compsoite
no
but FLT, korselt criterion, and Rabin Miller all can show a number IS composite right?
try googling (fermat)-pseudoprime, Mersenne prime and so on
im familar with those, im just making sure my understanding of the purpose of the test is correct
the purpose is that if it passes a lot of those tests then it is likely a prime
but indepdently, those tests can only confirm that a number is composite?
yes because there exists numbers such as these
hence the theorems aren't if and only if
gotcha thanks
For what values mod a do all integers have a cubic root mod a?
All primes? Multiples of 3?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
where did the mute go
hmm
I think you’re referring to the fermat primality test which is probabilistic
so you can’t use it to say a number p is prime for certain, but it can say it is “probably” prime
but there’s plenty of “fermat pseudoprimes” which pass the fermat primality test but aren’t actually prime
hence why it’s a probabilistic test and not deterministic
he changed his name rip lithium
How to show $a^{\varphi(b)}+b^{\varphi(a)} = 1 \mod ab$ whenever $\gcd(a,b)=1$?
Carla_
Can use Euler theorem to see a^phi(b) = 1 mod b and b^phi(a) = 1 mod a, but how to go from there?
@sacred junco I got you
you got me?
yup so since $(a,b)=1$,...
logician_pdx
we have $b|a^{\varphi(b)}-1+b^{\varphi(a)}$ and $a|a^{\varphi(b)}-1+b^{\varphi(a)}$, so $ab|a^{\varphi(b)}-1+b^{\varphi(a)}$. By the definition of congruence, we conclude $a^{\varphi(b)}-1+b^{\varphi(a)}\equiv1\pmod{ab}$
logician_pdx
I skipped a tiny detail, but hopefully you see that $b|b^{\varphi(b)}$ and $a|a^{\varphi(b)}$.
logician_pdx
we also had $b|a^{\varphi(b)}-1$, so $b|a^{\varphi(b)}-1+b^{\varphi(b)}$
logician_pdx
and similarly, for $a$
logician_pdx
make sense @sacred junco ?
yea its basically what i did
cuz totient funcrion geq 1
definitely
you can get a very explicit way of writing down solutions you've solved for each mod p^n and combine them together
mod p^n?
right, if you're trying to solve something mod N you can factor N into its powers of primes, those are the smallest relatively prime things you can make
yea
this one has a typo,..
this one does too.
we have $b|a^{\varphi(b)}-1+b^{\varphi(a)}$ and $a|a^{\varphi(b)}-1+b^{\varphi(a)}$, so $ab|a^{\varphi(b)}-1+b^{\varphi(a)}$. By the definition of congruence, we conclude $a^{\varphi(b)}-1+b^{\varphi(a)}\equiv1\pmod{ab}$
logician_pdx
This is the corrected version @sacred junco
The typo I had was $b^{\varphi(b)}$ instead of $b^{\varphi(a)}$
logician_pdx
yea i didnt even notice lol its okay
yea, the logic is still the same tho
i just wanted to check if what i did was right so i asked as if i didnt solve it, not to bias someone who answers
okay be careful when you do that tho, because we don't like to give answers right off the bat if no work is shown
but since you told me about what a and b each divide, I could tell you thought about this problem already
so I answered.
yes im aware thats why i said that xD
you could say this is the chinese remainder theorem
yea i was getting chinese reminder vibes :o
Miller Rabin is a probabilistic test. If you run enough rounds of the MR with different prospective witness numbers, none of who confirm that the number is a composite, then there is a very high degree of probability that the number is a prime.
All Composites don't have a Fermat's witness - Carmichael numbers don't have a Fermat's witness even though they are composite. However all composite numbers have multiple Miller Rabin witness for Compositeness. So if you run MR with multiple prospective witnesses, the probability that the number is a composite without being confirmed by your rounds is ignorably small.
There are also deterministic tests for Primality. The AKS tests is deterministic test which runs in polynomial time and also doesn't use any unproven conjectures like the Reimann Hypothesis. There are also other deterministic tests which use Reimann & check primality in a deterministic way.
how tho ?
i get one direction how x = 1 mod(12) -> x = 1 mod(2, 3, 4 and 6)
but how do i show the other direction 
equivalently you already showed the expression is 1 mod a and 1 mod b so by (a form of) chinese remainder theorem since (a, b) = 1 we have the expression is 1 mod ab
in general, if you’re trying to find something mod a_1 * a_2 * … * a_n, where the a_i are pairwise coprime, you can consider the solution to the system of individual congruences mod a_1, mod a_2, …, mod a_n
x=1 mod 4 implies x=4k+1
x=1 mod 3 implies x=3l+1
This implies 4k=3l or 4k=12m for some m,i.e., x=12m+1
and this again is due to the chinese remainder theorem
You don't need the other 2 congruencies

v clever
dooesnt chinese remainder theorem only guarantee a solution to 2 congruence systems ?
it can be extended
Or you can use this
does it extend to a stronger version of "only guarantees the existence of a solution"
the theorem always shows existence
it’s up to you to find a construction
ic 
actually what have I been saying this whole time
can u link me the proof of this ?
im not sure how to use CRT here
and this sounds hella useful
you don’t need anything fancy to show that 1 mod a and 1 mod b implies 1 mod ab for (a, b) = 1
crt just shows existence
which here isn’t very useful
Do induction on this
Suppose you have x=c_1 mod a_1 ,c_2 mod a_2 and c_3 mod a_3 first find y: x=y mod a_1 a_2
Then use that to find z such that x=z mod a_1 a_2 a_3
oh right, the point is of the unique existence of a solution
so here you can say that 1 is the only solution
ye
Then this is equivalent to x=2(2)(2)+1(3)(3) mod 6, x=4 mod 5
x=5 mod 6,x=4 mod 5
Which is equivalent to x=5(5)(5)+4(6)(1) mod 30
x=29 mod 30
yeah ok makes sense 
I think it’s worth emphasizing that CRT isn’t the actual algorithm used to construct the solution, rather it’s something which lets you choose two congruences whose modulo are relatively prime and combine them into one
in the ss example, 2, 3, 4, 6 are not pairwise coprime. how are they combining those 
apply CRT one step at a time
first combine 2 and 3 because they’re relatively prime so CRT applies
aight lets say i apply it to mod 2 and mod 3, get a solution mod 6
but then 4 and 6 are not coprime
hmm
You can show x=a mod (2^2)(3) is completely determined by b and c where x=b mod(2^2) and x=c mod 3
true 
Other congruencies are just extra material you check at the end
As in "does the final solution satisfy those conditions"
If not,there is no solution
If yes,There is a solution
this this true that "x = a mod m is equivalent to solution to the system x = a mod (all the divisor of m)"
yeah one direction is simple enough but the other direction im not sure how to show
prime divisors I think
well actually something like mod 36 might be weird
thonkery 
i just tried out ur thing to prove a system of n congruences has a solution and it was goddamn genius 
here's a way to explicitly construct a solution from the solutions mod the relatively prime numbers as an example $$x=x_a (bc)^{\varphi(a)}+x_b(ac)^{\varphi(b)} +x_c(ab)^{\varphi(c)} \mod abc$$
Merosity
you can see how for instance (bc)^phi(a) is 1 mod a and 0 mod b and mod c, so you're easily selecting out
but the exponent can be kinda gross, it's just nice to have
dang thats pretty nice too
but yea not a fan of those exponents 
soαρ
dont tell me what to do
not sure how to do (c)
something something expected values ?
like given an integer n between 1 and x, the probability of n and n + 2 being prime is 1/ln^2(x). we sum up all the probabilities ranging n from 1 to x to get a total probability of x/ln^2(x) ?

but then thats the probability. the number of twin primes is x^2/ln^2(x) ?
havent done much probability 
first find what the probability for some a to be a prime is, and then consider a and a+2 being primes as independent events
probability of a being prime is 1/ln(x). so a and a+2 being prime has the probability of 1/ln^2(x) ?

wow
this is a pretty bad bound though
yeah

lol
holy shit that was too simple
troll problem
i hope i havent made some stupid lapse in judgement
but it seems fine to me
its missing a constant 
im trying to prove that for an odd integer k>1, there are infinitely many primes p such that at least of the intgers from 1 to p-1 has no kth root modp
not really sure how i am supposed to proceed
Well if p=ak+1 for some k, do you see why there will be an integer with no kth root mod p?
why not? seems like it should work
What do you mean by why not? Are you saying that all integers will have a kth root mod p?
Also here is a hint: the multiplicative group of Fp is isomorphic to Z/(p-1)Z
im saying it seems like all intgers do in fact have a kth root mod p, but i guess there is not and there is flaw in my logic. im not familar with much group theory so hint doesnt help much 😦
This question (or atleast the way I’m solving it) seems a little too difficult then
hm i guess ill just keep trying then
For an example of what I was saying, when k=3 look at p=7, you can then check that 2 has no cube root mod 7
makes sense but generalizing and proceeding seems difficult
Yes the generalisation is pretty hard: here is a fact that will help (it is hard to prove but take this for granted) for every prime p, there is an integer k<=p-1 such that the powers of k give you all nonzero remainders modulo p, and k^(p-1)is congruent to 1 mod p.
I realize I’ve used k for the integer here, this k has nothing to do with the k in the problem, sorry
is this a named theorem or just a general result? would like to look into it more if i can find something on it
sounds like fermat's little theorem
think you're right didnt even realize
It is called the primitive element theorem
It is a bit harder than fermat’s little theorem
it looks like i need basic group theory just from searching it up. think i might need to take a min and just get some group theory basics since it seems anything remotely complex in nt needs it
Oh wait that is a different theorem, I don’t know of a name for this theorem, but it isn’t fermat’s little theorem
Its just the existence of a primitive root
Yes
@wispy creek wht book is this? silverman?
yes
can some help with q3?
probably if you posted your problem
lol, it was in question3 chat
How do I solve this?
I keep getting wrong answers
show your work so far
I'll walk through the answer here in a bit if you're still struggling cause it's pretty straight forward once you know
x = 24^101 mod 25
x = 24^101 mod 4
x = (-1)^101 mod 25
x = 0^101 mod 4
x = -1 mod 25
x = 0 mod 4
x = 4t
4t = -1 mod 25
//gcd(25,4) == 1 than
4t = t = -1 mod 25
t = -1 + 25v
x = 4(-1 +25v)
x = -4 + 100v
x = 96 + 100v
x = 96 mod 100
just a general tip, it's usually easier to start with the big one and go smaller
like do x=-1+25t and then look at it mod 4
but I'll keep checking your work, just got to this part
this step is wrong:
4t = t = -1 mod 25
t = -1 + 25v
4t is not t mod 25
4t=-1 mod 25 you need to find and multiply by 4^-1 on both sides
this is why starting from the bigger one is easier, since the inversion you'd end up having to do would be mod 4
only good way I see to do that here is by hensel lifting, which is just extra work that we should avoid, I can show you how to do that
basically we solve 4u=1 mod 5, then use this to solve 4u=1 mod 25
mod 5 is easy, u=4 will work
so now mod 25 we use u=4+5v and we have 4(4+5v)=1 mod 25
you can rearrange this all out to get 5*(3+v)=0 mod 25
so really we're just back down to looking at 3+v=0 mod 5
so v=2
and that determines it, u=4+5*2 = 14
oh whoops forgot to distribute the 4
5*(3+4v)=0 mod 25 becomes 3+v4=0 mod 5 and so v=3
so u=19
so x ends up 76?
hmm 74 actually but that's not right either haha
do it the other way, it's more direct, I'll check my work again, I already made a mistake while working it out so probably there's another
Yeah. If it wasn't the course has a test, I would just write a code to my math library and forget about it 😄
I just forgot what I was doing after working out the inverse
everything from here on down is just working out what 4t=-1 mod 25 is
you solved for t incorrectly
you need to multiply by 4^-1 on both sides
I worked out that 4^-1 = 19 so multiplying by it I get t = -19 mod 25
or I could just put t=6 since it's smaller
so x=4*6 = 24 mod 100
like I said though this is the bad way to do it
you should start from x=-1+25t mod 4
0=-1 + t mod 4 means t=1 mod 4 and so we get x=-1+25=24 mod 100 immediately
even if 25 turned out to be something else other than 1 mod 4, inverting it would still be very easy since it can only really be 3
cough method of successive squaring cough
I'll take hensel lifting any day thanks haha
to be fair, doing either of these by hand is a pain in the ass lol
what even hensel lifting 
heyy, I was stdying substitution cipher,I had a doubt in it. can anyone help me with it
in the simplest case, you can turn solving for something mod p^n into solving basically the same problem mod p, but n times
so for instance 4x=1 mod 5^2 I solved it mod 5 first to get x=4
then I plugged in x=4+5y to get 4*(4+5y)=1 mod 5^2 but it simplifies to become 5(3+4y)=0 mod 5^2
since we already have 5 there, we know to make 0 we are just solving 3+4y=0 mod 5 now
so that's the second time solving a problem mod 5, and this trick generalizes
yeah, so we can go a little more general to show it easier maybe
let's say f(x)=4x-1=0 is what we want to solve mod p^n
then if we can solve f(x)=0 mod p, we can use this to get the next power up, let's go a bit more general and say f is a polynomial
then the next step will be $f(x+py)=0 \mod p^2$ is what we want to solve
Merosity
we have x already determined mod p, so we just need to determine y mod p, think of it as determining the base p expansion of the number one digit at a time
so if we expand out the polynomial now, $$f(x+py) = \sum_{k=0}^n a_k (x+py)^k = \sum_{k=0}^n a_k (x^k +k py x^{k-1}) \mod p^2$$
Merosity
notice all the higher terms in the binomial expansion die out cause they are p^2 or higher
if you look at that and expand it out, it simplifies down to:
$$f(x+py) = f(x)+py f'(x) \mod p^2$$
Merosity
you with me so far? kind of getting weird lol
oh shit forgot to check. im back
happens to me too lol
ok yeah i followed it so far
took me like 5 tries but i got there 
not sure why the next step is to look at f(x + py) tho
seemed kinda arbitrary
yeah, it's cause we solved f(x)=0 mod p
and since py=0 mod p, we're basically blind to it
mod p^2 that's just the amount we have to add on to take our solution mod p and fix it up to work mod p^2
kk makes sense
I can explain that a bit more later, but I'll keep going from here now @wispy creek
So we're wanting to solve f(x+py)=0 mod p^2 and all we need to do is determine y, since we know x, so this becomes
$0=f(x)+py f'(x) \mod p^2$
Merosity
yeah weird haha 😛
we already know f(x)=0 mod p so it's safe to divide this by p
$$0 = p( \frac{f(x)}{p} + y f'(x)) \mod p^2$$
Merosity
since p*(stuff)=0 mod p^2 we know the (stuff)=0 mod p
$$0 = \frac{f(x)}{p} +yf'(x) \mod p$$
Merosity
oh shit 
as long as $f'(x) \ne 0 \mod p$ we can now solve for y exactly
Merosity
$y= \frac{-f(x)}{p f'(x)}} \mod p$
Merosity
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
so our new answer is $x+py = x-\frac{f(x)}{f'(x)}$
Merosity
it turns out this will always be how the step works to get new digits
$$x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}$$
Merosity
wtf this looks like newtons method 
it is newton's method 😛

but how you measure distances between numbers is different in this topology, so this is how you do newton's method in the p-adics
so maybe try to prove the general thing now
aight throw the general statement at me, ill try to prove it 
so take your base case as $f(x_1)=0 \mod p$ and $f'(x_1) \not =0 \mod p$ and then use this to show that if you have $f(x_n)=0 \mod p^n$ then there's a unique solution to $f(x_{n+1})=0 \mod p^{n+1}$
Merosity
let me be a bit clear about what I mean with an example
like earlier we wanted to solve f(x)=4x-1=0 mod 5
so if I solve this, with x=4 and then evaluate f'(4) and show this is nonzero mod 5, then this means my base case is satisfied
and I'm guaranteed I can always solve f(x)=0 mod 5^n by repeatedly stepping one digit in base 5 at a time
aight ill try to prove it and when i come back lets talk about this "base p" thingy
sure, we can work some in base 10 or base 2, it might be easier
or maybe just try to work out a concrete example like
solve x^2+1=0 mod 5^4 to get a feel for it
that's kind of an interesting one because as you solve x^2+1=0 mod 5^n as n gets larger, you're computing digits of an irrational number in the 5-adics that we could call i
actually how is it safe to divide by p ?
gcd(p^2, p) = p != 1
so the inverse doesnt exist mod p^2 
yeah, however as an integer if we're looking at f(x)=0 mod p
this means f(x)=pm for some m
so f(x)/p = m is perfectly well defined as an integer
so we're sort of shifting perspective a bit when we write that, so it's a bit tricky @wispy creek
well that's just ordinary modular arithmetic
f'(x) != 0 mod p means it has an inverse
yeah, actually hensel's lemma is more general than what I've said too, but I didn't wanna overwhelm with details
if f'(x)=0 mod p you can still do hensel lifting, just requires your base case to involve working more, like solving f(x)=0 mod p^k for some k that depends on what power of p divides f'(x)
in terms of the p-adic absolute value it's easy to write down, |f(x)|<|f'(x)|^2 is the sufficient condition for x to lift to a unique solution
yea ic why u avoided details. good call 
we could even go more general and talk about the version of hensel's lemma that's actually about polynomials
factorization of polynomials mod p lifts to factorizations mod p^n lol
just to check, what im trying to prove is, if f(x) = has a solution mod p, it has solution mod p^n for any n >= 1?
yeah, and the way to do that is by induction on n
oh ok that makes a lot more sense then
also you assume f'(x) !=0 mod p as well
kk
@torn escarp ive been trying to prove this for a while now. i was able to show x_{n+1} is a solution mod p^(k+1) given that x_n is a solution mod p^k. but got stuck on the uniqueness part 
heres an example that seemingly contradicts uniqueness
f(x) = x^3 - 1
f(x) = 0 mod 3 has a solution x = 1
but f(x) = 0 mod 3^2 has 2 (or maybe more) solutions x = 1 and 4
yeah good question
it's unique once you fix x for the base case
the further digits you add on to whatever choice you make there are what is unique
and the uniqueness will pop out of the fact that f'(x) != 0 mod p will allow you to solve for the next digit exactly
like we did in that example mod p^2 that I showed earlier in reducing it to mod p
r u saying once we fix x_n, x_{n+1} is fixed and therefore unique ?
nice 😎
thank you for enlightening me mero 
yeah you're welcome 😛
p-adic stuff aside this is good to have just for regular modular arithmetic problems
if you're trying to solve something mod n, the chinese remainder theorem only lets you split it into solving congruences modulo relatively prime numbers, which means distinct powers of primes
then i use hensel lifting to solve mod p^n 
this thing you're proving now, hensel's lemma, lets you solve things mod p which is easier and then lift up to that
bingo
sniped me lol
yeah, pretty fun when calculus starts to pop up in number theory stuff lol
soαρ
How do you solve 2^k -1 ≡ 0 (mod 4599)? I noticed that 4597 is a prime, but not sure if this fact can be exploited.
A tedious way is to note that k must divide phi(4599) = 2^5 × 3^4 and then just checking all of the 30 possibilities
Quite a few of those can be eliminated simply by size checks
Lol those were super wrong
I see. This method should definitely work, but is there a smarter way to deal with the congruence? I think the problem is not intended to involve brute force checking possibilities.
crt stuff probably
Is crt Chinese Remainder thm?
Yes
Im not 100% confident on how you combine the solutions due to the exponents being in mod phi(n)
You can probably just combine them directly
thanks. I'll try the CRT approach and see how it goes!
Gl
# Let p be a positive integer. Consider p (not necessarily) distinct prime numbers
# such that their product is ten times their sum. What are these primes, and
# what is the value of p?
### SETUP ###
# 1) generate primes
#
# REPEAT until success ----->
# 2) check success conditions
# 3) prune responses for complexity
### PROGRAM ###
# Global Variables
primes_array = []
# Methods
def main():
populatePrimes(2, 12)
checkSuccess()
def populatePrimes(range_low, range_high):
for possiblePrime in range(range_low, range_high):
isPrime = True
for num in range(2, possiblePrime):
if possiblePrime % num == 0:
isPrime = False
if isPrime:
primes_array.append(possiblePrime)
def checkSuccess():
ROC_now = 0 # Rate of Change Now -----> starting value negligible
for i in range(0, len(primes_array)):
for j in range(0, len(primes_array)):
# Rate of change calculation which lowers computational complexity by using the linear design of the
# problem to prevent excess calculations after surpassing the equality convergence point
ROC_previous = ROC_now
ROC_now = 10 * (primes_array[i] + primes_array[j]) / (primes_array[i] * primes_array[j])
if ROC_previous > 1 and ROC_now < 1: # ROC_now at success should be 1
break
if 10 * (primes_array[i] + primes_array[j]) == (primes_array[i] * primes_array[j]):
print("***********************Answer: ", primes_array[i], primes_array[j])
else:
None
# uncomment below to see all test cases
# print("WRONG i:" + str(primes_array[i]), "j:" + str(primes_array[j]) + " " + str(
# 10 * (primes_array[i] + primes_array[j])) + " = " + str(primes_array[i] * primes_array[j]))
main() ```
Found a problem where two primes can be found where 10 times their sum is equal to their product
The code runs smoothly but I get to sizes of 100000 max prime range and cant find it
Is there anything blatantly wrong with my method or code?
Adjust range accordingly
I don't think there's any solutions with only 2 primes. Since the product is even, 2 must be one of the primes, but then you have 10*(p+2)=2p for the other one.
I found this problem on a challenge from an institution... that is why I am confused
doesnt make sense, thanks for the help
I'm gonna change notation to make n the number of primes since I want to represent primes by $p_i$. We can write this out as $$\prod_{i=1}^n p_i = 10 \sum_{i=1}^n p_i$$ immediately we know two of the primes must be 2 and 5 so pick the last two and divide them out, $$\prod_{i=1}^{n-2}p_i = 7 + \sum_{i=1}^{n-2}p_i$$. Something concrete to work with, next you could consider maybe what happens if one of the primes is 7 or not I guess
Merosity
in particular for that other comment, if n=2 then we have 1=7+0 which is a contradiction, consistent with what @dusk coral is saying
my reasoning is slightly different just for 2 primes if we have pq=10(p+q) we necessarily must have p=2 and q=5 for the prime factorization to make sense at all
I didn't even consider the fact that it could be more than two primes... However it could be only both 1) 2 and not 5 2) 2, 5, and another
but considering I have checked through 2 and 100000 for two primes you are probably right
pq=10(p+q) the left side has exactly 2 prime factors and the right side has 2,5,and at least one prime factor in p+q which means it has 3 or more, that's the contradiction I'm going for
Adjusting my code now, sorry for being thick
Yep and there it is 2 3 5 5
You can even narrow it down to n>=4 because 10(pi+7) != (2*5)pi
Thanks John and Merosity this was nagging at me
👍
you're welcome
What does this mean?
yeah
What part do you not get
the squigly that looks like equal sign
Isomorphism,I think
Your function maps 1 to 1
So Z/2Z is {[0],[1]} right?
Z_2 is {0,1}
The isomorphism is map [0] to 0 and [1] to 1
wait what
whats the the distinction between Z/2Z and Z_2 ?
is Z_2 just a nice way to represent Z/2Z ?
Yes
But some people define Z_2 as the set {0,1} with a+b=(a+b)%2
Practically the same thing
Where a%2 is the least positive reminder
Z/2 has equivalence classes
ic 
z/2z means odd numbers
z_2 means modulo numbers to 2
so z_2 = {0,1}
right. But what would be the general definition of isomorphism for groups?
f(a)f(b)=f(ab)
Z2 and z/2z is same thing
f will be your isomorphism
f isn't the function?
The function is "map [1] to 1 and [0] to 0"
ohh
z/2z means odd numbers, what ?
Its just notation soapy
Z is intergers so 2Z doesn't mean even numbers?
yeah ik
2z is not z_2
Sir, Z\2Z is set of odd numbers
Z/2Z is Z quotiented out by 2Z 
Just stop talking about this plssss
Z|2Z is my favorite set
You like binary digits?
i like you
Does Z/Zp has elements of order two? Is there a nice way to find those elements?
in multiplicative group
Simple proof is just that x^2 -1=0 mod p iff (x-1)(x+1) = 0 mod p
How do I find x for
5^x = 1 (mod 7)?
just want an x that works, or the minimal x?
minimal x
if you just want one that works, that's easy - that's fermat's little theorem
if you want the minimal, that's pretty much impossible - that's the discrete logarithm problem
you just have to brute force it pretty much
minimal interger
Which I think is 6 according to fermats little theorem as you said 🙂 Thanks
no
it's 6, but not according to fermat's little theorem
fermat's little theorem gives you 6 which works for every number relatively prime to 7, but it's not the minimal in general
You only need to test up to (p - 1)/2 for odd p. If there are no repetitions up to then and A^((p-1)/2 is -1 (mod p) you are good.
You only need to check the proper divisors of p-1 for a bit of extra optimization
Nice.
Very cool yes
m, n are positive numbers such that 5m +n divides m + 5n.
Prove that m is factor of n.
can someone give a hint?
Take m+5n=k(5m+n) and do some shenanigans
I did that and got m(5k-1)=n(5-k)
Oh wait m and n are positive
There is a easier way
5m+n divides (m+5n)+(5m+n)=6(m+n)
Ok,This isn't easier
5m+n also divides 4n-4m

5m+n divides 24(m+n) and also 24(n-m)
5m+n divides 48m
also 48n
Yes
but doesn't do much ig
Still need this? @shut echo ?
yea
5km + kn = m + 5n
5m + n <= 5n + m ==> 4m <= 4n ==> m <= n
5km + kn = m + 5n (mod n) ==> (5k - 1)m == 0 (mod n)
5km + kn = m + 5n ==> 0 == (5-k)n (mod m)
m | (5 - k)n and n | (5k - 1)m and I am lost.
I wanna say gcd(5 - k, 5k - 1) = 1 and that helps?
But it isn’t for k = odd so blah.
Maybe assume m doesn't divide n and do something with that
not really following this line 
another q
does this proof work ?
im proving p cannot be written as the sum of 2 squares when p = 3 mod 4
what about the red underlined part tho 
well this shows a,b aren't in the multiplicative group, but 0 is the only thing not in the multiplicative group so it must be the solution
well you just showed that a^2 = -b^2 mod p has no solution when a,b are nonzero mod p
so they must be 0, it's the only option left
lol
thnx for the help guys 
you're welcome
We can divide out common factors of $m,n$ so without loss of generality we can assume $m,n$ are relatively prime, this turns the problem into proving $m=1$. Since $m+5n \ge 5m+n$ we also know $n \ge m$. Further we can look at $m+5n=k(5m+n) \mod m$ to get $k=5+mt$, plugging $k$ back in we get, $0=24+(5m+n)t$. Since $m,n$ are positive this means $t$ is negative. This restricts what $k,m$ can be to finitely many cases to check.
Merosity
lemme know if you run into any issues
Plugging in k, we get $0 \equiv 24m+5m^2t+mnt \mod m$
Schrödinger's cat
The RHS is already 0 mod m so why are we dividing by m and then again equating it to 0 @torn escarp
don't plug in mod m, just plug in normally
$$m+5n=k(5m+n)$$
$$m+5n=(5+mt)(5m+n)$$
$$m+5n=25m+5n+5m^2t+mtn$$
$$m=25m+5m^2t+mtn$$
$$1=25+5mt+tn$$
$$0=24+(5m+n)t$$
Merosity
Oh okay
since this makes t negative, k=5+mt is a pretty harsh condition since k is also positive, m is going to be small so that when we subtract a multiple of m from 5, it's still positive
yeah I get it, thanks a lot
cool
let me know what you do to finish it, since it seems kind of annoying to finish
Ig there are only 4 cases
m,k>0 implies t=-1 so (m,n)=(4,4),(3,9)(2,14)(1,19)
t=-2,-3,-4 is also possible
when t=-2, 5m+n=12 so (m,n)=(1,7),(2,2)
t=-3, 5m+n=8, (m,n)=(1,3)
t=-4, 5m+n=6, (m,n)=(1,1)
In all of these m|n so we're done
I guess since we only care about when m is not 1, we just need to do t=-2 and m=2
yeah right
kind of weird problem, seems like it'd be easier
seems like it'd be fun to generalize to am+bn being divisible by bm+an with a<b, show that m divides n
yep
How can i find solutions for $f(x)$ in the congruence $f(x)(x^2-1)\equiv x^2+x-2\pmod{x^3-1}$
ben49
just dividing x^2+x-2 by x^2-1 to solve for f, but then theres a remainder term and stuff that I couldnt figure out how to get rid of
well one place to start might be by noticing that $x^2+x-2=(x+2)(x-1)$ So dividing by $x-1$ gives $f(x)(x+1)\equiv x+2\pmod{x^3-1}$
logician_pdx
Well, we can’t multiply by the inverse of $x-1$ modulo $x^3-1$ since those are not coprime.
Green4Applez
But, we can divide everything, including the modulus, by x-1.
So we would get $$f(x)(x+1) \equiv x+2 \pmod{x^2+x+1}$$
Green4Applez
Then, multiplying by $x$ on both sides gives $$f(x)(x^2+x) \equiv x^2+2x \pmod{x^2+x+1}.$$ Then since $x^2+x \equiv -1 \pmod{x^2+x+1}$, we get $$-f(x)\equiv x^2+2x \pmod{x^2+x+1}.$$
Green4Applez
So, $$f(x) \equiv -x^2-2x \pmod{x^2+x+1}$$
Green4Applez
Ah, yes; good point! I forgot that rule still holds for polynomials!
im confused about the name "primitive root"
the "root" part makes sense but what does the "primitive" part signify
Well, its powers generate all the roots mod p, so it is “primitive” in a sense
oh yea that does make sense 
@spark shuttle does the explanation above make sense?
The solutions for f(x) follow from the final congruence
how can i porve that for integer m, if m is even and m/2 is 1mod4, m can be written as a sum of two squares m=a^2+b^2 with coprime a,b
I don’t think this is true, 18 is even and 9 is one mod 4, but the only way it is expressible as a sum of squares is 9+9
sorry copied the question wrong. if m is even and m/2 is odd and if every prime diviiding m/2 is 1mod4, prove that m can be written as a sum of two squares m=a^2+b^2 coprime a,b
yah this makes sense. thank u sm!
Awesome!
i can show u that m can be written as a sum of 2 squares but i cant prove the coprime part
for smth like m=2*5 *5 =50, it can be written as 25 + 25 and also 49 + 1
the first doesnt have coprime a, b 
what are u talking ab soap
representing a number as a sum of 2 squares 
but all u do is give an example 
as i said, i couldnt prove the coprime part. but the existence of square representation part i can prove like a champ 😎
The square part is fine it’s just the gcd part in which I am having trouble
ic. i couldnt make the gcd part work out either
i cant tell if ur meming or not
it depends on your convention. Here they mean linear in the size of the input, where size is measured in bits rather than by absolute value/magnitude of the quantity
ah makes sense. thanks
I have a question about this problem, when it says that 3 | m^2 + n^2, is it possible to split it into 3 | m^2 and 3 | n^2? If not I'm unsure how to approach this
is it the additive property?
The additive property is not true in general, for example 6 | 2+4, but 6 doesnt divide 2 or 4.
To prove the exercise, first note that 3 | m² + n², this means that there exists an integer k s.t.
i) 3k = m² + n²
Now do division with remainder of m and n by 3, which gives you
ii) n = 3a + r
iii) m = 3b + s
If you can show that r = s = 0 you are done. You can show that by squaring ii) and iii), then adding them together so you have an expression for m² + n², now compare coefficients with i) and conclude that r=s=0. Here its important that the remainders r and s can only be numbers from {-2,-1,0,1,2}
your set of remainders can be made much smaller, just {0,1,2}. If you square every one of these possibilities mod 3, you get the set {0,1} since 2 is not a square mod 3. Now the problem becomes looking at m^2+n^2 mod 3 as being, can we make 0 mod 3 by a combination of two numbers in this set where they're not both 0? The answer is no, since 0+1, 1+0, and 1+1 are all nonzero mod 3, so it must mean 0+0 is the only possibility.
I do have a follow up question , while the additive property is not true in general, isn't it true in this case? Since we are trying to prove that 3 | m and 3 | n
probably not a good idea to think of it as some kind of property since it doesn't really hold in any generality
at best I'd say if p divides a+b then we know either p divides neither of them or both of them, but never only one of them
you could try to prove that, since that's pretty close to what you want, I'll help if you want
Isn't that euclids lemma? I wrote up a proof but I'm unsure if its really logical tbh, I can DM you a picture of it if youre up for it
not quite, since euclid's lemma is the product not sum
plus this is sort of saying the opposite, p doesn't ever divide just one, it either divides both or neither
not quite, not really meaningful to compare them like that though
Ah I see
Could we use the fact that since 3 divides m and n, that m/n can take the value of either 3k, 3k+1, or 3k+2? i.e 3 different cases?
I don't follow, are you talking about your old problem or this new one
exercise 4.3
you can't assume 3 divides m and n, that's what you're trying to prove
if 3 does divide m and n, it doesn't mean m/n can take those values either
m=3, n=9 you have m/n=1/3 which doesn't work for example
Ah i see
I also have a question about this. Why is it valuable to mention that ab-bc = 1? Is there something that I can infer from that statement
Yes,that allows you to prove this using bezout
To be honest, never heard of bezouts identity
have you heard of eden identity?
do u still need help with that ?
I'm a bit confused here. What exactly is a complete set of residues?
Like I have this and my book says it's a complete set but what makes it that?
<@&286206848099549185>
In this context, a complete set of residues means that you have all the possible residues mod 11
so every integer between 0 and 10 inclusive
@atomic gale Wait just to be clear, you know what a residue is correct?
Awesome!
its a lot of bezouts identity shenanigans
for the first one lets say, u can start by assuming gcd(a, 1) = d. so d divides a and 1. but the largest number that can divide 1 is 1, and 1 also divides a. so d = gcd(a, 1) = 1

Hi guys! If I fix an odd prime $p$, is there a way to generate another integer $n$ such that $\varphi(n) = \varphi(p) = p - 1$ where $\varphi$ is the Euler totient function
opengangs
If you want the question directly
Oh wait, I think n = 2p would work
phi(2p) = phi(2) phi(p) = (2 - 1)(p - 1) = p - 1
thank you!!!
is that literally the answer to part a?
yea
do we need to any more then that? i feel like we do
sure, u can go ahead and make it more rigorous, but thats pretty much all there is to it.
okay, so for part b, i see how you did part a but for part b, i cant make an integer divisble by 0
so how would that work
u dont want an integer to be divisible by 0, u want 0 to be divisible by an integer
what integer(s) divide 0 ?
none lol, but thats how i interpreted it
why not ?
ok, so.... could i say assume gcd(a,0) = f, f an element of all integers, f divides 0 and a and the largest number that can divide a is a and 0 divides a so f = gcd(a,0) = a?
@wispy creek
no because there are greater values that can divide -5?
yeah and what is the biggest one ?
5a? because a could be any integer and multiplied by 5, it can be divide -5?
a divides b and b divides a are very different things. ur mixing up these two
this is so confusing 😭
im asking u, what is the biggest number, such that -5 is divisible by that number
oh well, there is no biggest number right?
ok try this then, write -5 = AB, maximize A and minimize B 
why not ?
maybe this will help, -5 = 5 * (-1)
so u just took the absolute value of -5?
just factored it, but sure u can think about it like that too
anyways all this was to point out that if a is negative then a has a larger factor than a, namely -a
if a is non-negative then a is the largest factor of a
both cases can be summed up nicely using absolute values
oh, so all u did was just factor 5?
i thought u were talking about all numbers that can be divided by 5
lol
@wispy creek , how does this answer sound, Assume gcd(a,0) = f, f is an element of all integers. So f divides 0 and a and the largest that can divide a is a. If a is negative, then +a will be the greatest divisor of -a. So f = gcd(a,0) = a?
the largest that can divide a is a
thats not true
If a is negative, then +a will be the greatest divisor of -a
+a is literally the same thing as a
and then why are u considering -a when a is already negative ?
hm okay, but what is true then for the first statement you said?
we discussed this earlier that if a is negative then a is not the largest factor of a
-5 is a factor of -5 but we can do better, like how 1 is a factor of -5
and the largest we can do is when we say 5 is a factor of -5
ohh so |a| is the greatest divisor of a?
yes
its easier to refer to the gcd that way but u can do without too ig
oh okay
@wispy creek for c, i said Assume gcd(a, a+1) = g, g an element for all integers. G divides a and a+1 and the largest number that can divide a+1 is simply 1. For example, a = 7 then the gcd(7,8) would be 1 because 7 and 8 dont share common divisors. This works in the negative direction as a = -7, then the gcd(-7,-6) is 1 because -7 and -6 dont share common divisors. So g = gcd(a,a+1) = 1
largest number that can divide a+1 is simply 1.
why is that ?
if i let a = 3 then a + 1 = 4 is divisible by 2 for example
but 2 is not divisible by 3
u mean to say 2 doesnt divide a = 3?
in any case, why should i care if 2 doesnt divide 3 ? ur telling me in ur proof that a + 1 is only divisible by 1 but i just found an example where a + 1 is divisible by 2
i thought the point of the gcd(x,y) is that both numbers have to have common divisors and whatever number is the greatest divisor makes it true
yes but ur proof is not saying that
i need to explicitly state that?
no thats not what im saying, i mean ur proof is asserting something false
oh
in ur proof, ur saying "a + 1 is only divisible by 1 where a is an integer"
that is clearly false, as i already gave u an example
for this problem u have get a bit clever
heres a hint: if d divides a and b then d also divides a - b (in fact d would divide am + bn for any integer m, n)
and im going sleep sleep
😪
oh okay, thanks for the hint
You could find all the possible square roots using CRT and it doesn't like there is a better alternative for this
Suppose n is of form ${p_1}^{k_1} {p_2}^{k_2}...{p_l}^{k_l}$ where each prime is odd,there are $l^2$ solutions
Buncho Dragons
I guess you can predict the behaviour of 2 too, but that would be a bit more work
You reduce this to solving a system of CRT equations
And x^2-1=0(mod p^k) always has 2 solutions when p is odd
And 2 solutions if p is 2 and k is not 3
And 3 solutions if p is 2 and k is 3
Is any one of them 2?
Ok,there should exactly be 8 solutions
You can enumerate them
Mathematica can solve CRT problems right?
Let p_1,p_2 and p_3 be your primes
Is the number just p_1 p_2 p_3?
Or are there powers
Ok,solve 8 equations
- x=1 mod p_1 ,x=1 mod p_2, x=1 mod p_3
2)x=-1 mod p_1,x=1 mod p_2 and x=1 mod p_3
3)x=1 mod p_1 ,x=-1 mod p_2 and x=1 mod p_3
The other 5 equations are similar to this with position of -1 and 1 changing
2^l mb
how can i achieve this by the principle of complementation?
my process is:
- count all possible numbers between 3000 and 6000 which is 3 * 9 * 8 * 7 = 1512
- then count all the possible numbers lower than 3456 which should be, 1 * 4 * 4 * 4 = 64, am I missing anything here?
then 1512 - 44 = 1448 which is not the desired result. 😦
Yes if your 2nd number is less than 4 then 3rd and 4th can be any number
For example 3289 is valid
So split it up if 2nd number is {0,1,2,3} or if 2nd number is 4 - and do the same for the following digits
okay let me try..
so lower from 3456 should be:
- 3 {0,1,2,3} {0-9} {0-9} = 1 * 3 * 8 * 7 = 168
- 3 4 {0, 1, 2, 3, 4} {0-9} = 1 * 1 * 3 * 7 = 21
- 3 4 5 {0, 1, 2, 3, 4, 5} = 1 * 1 * 1 * 3 = 3
so 1512 -( 168 + 21 + 3) = 1320
I am off by one 1 from the answer...
is my calculation correct?
Well you want lower or equal to 3456
oh okay...right...i want equal to be deducted to get get higher than 3456. Thank you very much.
can someone help me with this?
I started with the fact that a^2-a must belong to S
Since a(a-1) belongs to S and gcd(a,a-1)=1=gcd(a-2,a-3) a-1 should also belong to S
using the same logic I can go on- a-2, a-3... Belongs to S
Is this approach correct? And how to get to the bigger elements (positive infinity)
oh interesting
I think I found it
no nevermind lol
I missed a sign when simplifying a^2 - (a^2-a) and thought I got -a
I suppose we just need to get arbitrarily large elements, we can take x^2-y and pick x to have the largest absolute value in our set so far and y to be the most negative element, I think we can always push this larger
Ahh yeah i think that works
it's possible I misunderstand your conditions on a since I didn't really read what you wrote I just took your result and ran with it
Ig you should read once cause I'm not sure if I can use the first condition the way I did
hmm I don't think that works
even though we know we have a and a^2-a we can't say a-1 is in the set because of that
yeah i kind of used the converse
I wonder if we can do something like take f(x,y)=x^2-y and then do some sort of induction on what we can get to with iterating it in different ways, but somehow requiring part a) as the base case
ok, what numbers actually satisfy gcd(a,b)=gcd(a-2,b-2)=1?
I feel like this is a kind of harsh restriction
Consecutive odd numbers and consecutive numbers
There could be others too actually
Like (7,11 or 13)
hmm
Can we manipulate a^2-b and b^2 -a to get something nice
I was playing with that earlier but just kinda felt like it was endless but maybe we should play with that
like once we have a^2-b we can look at b^2 - (a^2-b) = (b+a)(b-a)+b maybe
yeah
also was sort of hoping that f(x)=x^2-x could be iterated f(f(x)), f(f(f(x))), etc and get some nice closed form out of that but
nothing stood out to me
But how can we construct the set of integers since we gotta keep track of what numbers we're getting and whether we're missing out any number
hmm
Like can we show that 1 or 0 belongs to S
maybe a piece of it is showing that we can take f(x,y)=x^2-y and pick numbers so that this converges to 1 or 0 or something
yeah
like a decreasing sequence and then from there we can use f to build up anything I think, well ok let's see here
if we have 0, then we can construct -x from x by doing 0^2-x
if you have 1 or -1 as well then we can put in 1^2 - (-x) = x+1
yup
so maybe we do just need to show from condition a) we can descend with x^2-y to 0 and 1 or something
just trying to establish what we really need to get there
yeah
kind of feels like a funky version of the euclidean algorithm now
Can you explain how you're using euclidean algorithm
well I'm not using it, just saying by analogy it's sort of similar feeling
like when you start with say, (35, 11) = (35 - 3*11, 11) = (2, 11) = ...
oh i get what you mean
kind of imagining this process but with x^2-y
so ok, here's one way to back track, to get 0 we need 0=x^2-y so y=x^2
clearly x and y are not relatively prime unless x=1
but this is nice, getting 1 gets us 0
so let's see, 1=x^2-y so I guess rearrange this to make y=(x+1)(x-1)
idk if this is better or worse, but maybe we can show we can get something that can go into this from the gcd condition... 😬
alternatively y+1-n^2 = (x+n)(x-n)
y=(x+n)(x-n) + (n+1)(n-1)
just praying that writing something down will resemble something on the other end with a,b hmm
btw i have another idea: since a is in S can we express a as d^2-b or d^2-d or b^2-d and say that d belongs to S?
ig in this method too we cannot keep track of what numbers we get systematically
showing 1 is in S seems really hard tho
yeah, I'm playing with inequalities trying to see if there's a way to pick x,y so that |x^2-y|< min(|x|,|y|)
okay
or something like that, since that can't exactly hold as strict inequality always ofc
something maybe,
$\gcd(a^2-b, b^2-a) = \gcd(a^2-b-b^2+a, b^2-a) = \gcd((a+b-1)(a-b), b^2-a)$
Merosity
just trying to get the gcd condition to relate to the x^2-y condition in any way at all, since we need them to interact somehow
Okay
Can we not assume that a and b are odd such that it satisfies (a) and then see how to get 0 or 1
hmm it doesn't really work
gcd(a,b)=1 means there exists k such that we get to gcd(a-kb,1)
hmm
another kind of weird thing maybe
we know there's x,y and u,v such that ax+by=1 and (a-2)u+(b-2)v=1
Yes
I think that gives me an idea
we can suppose a>b and write a=b+c
then we have gcd(a,b)=gcd(b+c,b) = gcd(c,b)=1
and gcd(a-2, b-2)=gcd(b+c-2, b-2) = gcd(c, b-2)=1
this is nice because it means c is just any number that's relatively prime with b and b-2 is a possibility
gives me a better view of it, I'm gonna head out for a bit maybe think about it tomorrow
sure I'm falling asleep :/
maybe you'll find a solution in your dream and we won't have to think about it tomorrow
maybe you'll find a solution in your dream and we won't have to think about it tomorrow
haha yeah
lol later
maybe you'll find a solution in your dream and we won't have to think about it tomorrow
Wait this problem isn’t true right or am I missing something?
Problem 3
Like just try q=3 and p=5
You get (1-1/p^s)(1+1/p^s) = 1/(1-p^2s)???
@sacred junco yeah that seems wrong. I think it should be correct if the right hand side is 1 - 1/p^(fs) raised to the gth power
didn't have any dreams😓
I have a question, if 31 | ab, and 31c^2 = d^2, then how would I prove that 31 | d?
I'm not sure what u mean that 31 | d^2 clearly
is it because d^2 is equal to 31c^2
Actually i see what you mean
If thats the case, how could I prove that 31 | c?
is it the same method
You know d has 31 in its prime factorization
So d^2=(31)^2 k for some k
(31)^2 k=31 c^2 implies (31)k=c^2
Now do the same thing as before
another perhaps simpler way:
if p is prime and p | ab, then p | a or p | b.
since 31 is prime and 31 | d^2, then 31 | d or 31 | d. so 31 | d, clearly.
The set {n_2+1,n_3+1,n_4+1} is {3,5,7}
the divisor count of n is (n_1+1)(n_2+1)...(n_k+1) and as it has 105 divisors, then it can be written as
(n_1+1)(n_2+1)...(n_k+1) = 105
or, (n_1+1)(n_2+1)...(n_k+1) = 3.5.7
after that how the k=4 or the missing p_1, hence n_1 =0 affects the reasoning?
k=4 , n_1=0 is only applicable for the number 105 so the factors of 105 can be written into, (n_2+1)(n_3+1)...
there is a reasoning, the 105 number has only p_2 = 3, p_3 = 5, p_4 = 7 primes ...they are scaling the degrees up to find a factor @leaden swan
hence the n_1 = 0
They are also applying n_2>1 ,n_3>1 and n_4>1 condition I think
yes true.
You have to pick 3 (n_k) s such that n_k+1=3,5 and 7
oh i think i kinda get it now...
but this technique could be a little verbose...
thanks @leaden swan
Hey so I'm confused here as to how they jump through the 2 listed steps.
Like I get everything else but those 2 I marked in red I don't get.
<@&286206848099549185>
They just used exponent rules
How so?
I know that 11^(12n+6) = 11^12n*11^6
yes
So wouldn't this only work though if both sides were 1?
you know 11^12 = 1 by FLT
@sacred junco Hey hobo
yo
@wispy creek so what i have for this is,
Let a be arbitrary and b,c,d, an element of integers such that
a+b = c gcd(a^2 - b^2 + 1, a + b)
a^2 - b^2 + 1 = d gcd(a^2 - b^2 + 1, a + b)
am i on the right direction?

