Discovering Perfect Squares in x!+1 Function | Roger's Experience and Insights

  • Context: Undergrad 
  • Thread starter Thread starter roger
  • Start date Start date
  • Tags Tags
    Square
Click For Summary

Discussion Overview

The discussion revolves around the function f(x) = √(x! + 1) and the quest to determine for which natural number values of x this function yields a perfect square. Participants explore various mathematical approaches and reasoning related to factorials and perfect squares.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Roger initiates the discussion by asking if there is a systematic way to find values of x for which f(x) is a perfect square.
  • One participant suggests that the problem can be reframed as finding when x! + 1 = y^4 for some natural numbers x and y, noting that x! must exceed x^4 for x > 6.
  • This participant further reduces the problem to x! = y^4 - 1 and discusses the implications of y being odd and the factors involved.
  • Another participant challenges the interpretation, asserting that the correct formulation should be x! = (y^2) - 1 instead of y^4 - 1, and emphasizes the need for clarity in the discussion.
  • There is a request for a clearer explanation of the reasoning presented, indicating some confusion among participants regarding the mathematical expressions used.
  • One participant notes that x = 4 and x = 5 yield perfect squares, expressing a desire for a more efficient method to identify such values without extensive substitution.
  • Another participant acknowledges a limitation in their previous method, indicating it was only suitable for powers of 4, and shares a specific computation for 7! + 1.

Areas of Agreement / Disagreement

Participants express differing views on the formulation of the problem and the validity of certain mathematical steps. There is no consensus on a systematic method for determining perfect squares from the function, and confusion persists regarding the mathematical expressions used.

Contextual Notes

Some participants struggle with the clarity of the mathematical notation and reasoning presented, which may hinder understanding and progress in the discussion.

roger
Messages
318
Reaction score
0
hi

I am wondering whether there is any systematic way to determine for what values of x this function is a perfect square : f(x) = square root ( x!+1)

thanks for any advice.

Roger
 
Physics news on Phys.org
Hmm, well, thinking about it for a moment it's the same as saying:

x! + 1 = y^4 \quad \text{for some} \quad x \, , y \, \in \mathbb{N}

Clearly:

y \neq i \quad \text{for} \quad i = 1, \ldots, x

Therefore we must have x! > x^4, this is satisfied for all x > 6

We can reduce the problem yet further to:

x! = y^4 - 1

Or:

x! = (y - 1)(y + 1)(y^2 + 1)

Given that x > 6, then there must me at least a factor of 24, therefore y must be odd. So letting y = 2m + 1, giving us:

x! = 8m(1 + m)(1 + 2m + 2m^2)

Also if x > 6 then 5 must be a factor of this. Take this polynomial modulo 5 and see what you get :-p Just stuck that together, but it seems to be right :biggrin:EDIT: Well none of my LaTeX seems to have come out, don't know why, if a mod could help I'd be greatly appreciative
 
Last edited:
Well assuming my LaTeX never comes through properly, here is the post again:

Hmm, well, thinking about it for a moment it's the same as saying:

x! + 1 = y4

For some x,y natural numbers

Clearly:

y =\= i
For: i = 1, ..., x

Therefore we must have x! > x4, this is satisfied for all x > 6

We can reduce the problem yet further to:

x! = y4 - 1

Or:

x! = (y - 1)(y + 1)(y2 + 1)

Given that x > 6, then there must me at least a factor of 24, therefore y must be odd. So letting y = 2m + 1, giving us:

x! = 8m(1 + m)(1 + 2m + 2m2)

Also if x > 6 then 5 must be a factor of this. Take this polynomial modulo 5 and see what you get :-p Just stuck that together, but it seems to be right :biggrin:
 
I have difficulty reading what's been written, but the first of all it's not
x!=(y^4)-1 its x!=(y^2)-1
 
Last edited:
roger said:
I have difficulty reading what's been written, but the first of all it's not
x!=(y^4)-1 its x!=(y^2)-1
Well you said:

f(x) = square root ( x!+1) is a perfect square, which is the same as:

square root ( x!+1) = y^2

or:

x! + 1 = y^4

Please try and be more clear next time. But the same principle still applies, try and prove that this never is the case (which I am guessing is so)
 
To be honest, I don't get what your doing.
 
It was my mistake, it should have been square not (^4)
 
I've re read what you wrote but , I cannot understand it. Please explain to me what your doing ?
 
Ok, I will write it out again to avoid confusion.

x!+1=y^2 obviously x=4 gives a perfect square, and so is x=5.

All I'm trying to find is an easy way to find which values of x give me a perfect number, without keeping substituting the values in, that's all.
 
  • #10
In other words, you are asking:

\text{For what values of }n \in \mathbb{N}\;\text{is }\sqrt {n! + 1} \in \mathbb{N}\;?
 
Last edited:
  • #11
Yeah, I've just had a hack at my method and I don't seem to be coming up with anything, it seems mine was only appropriate for powers of 4

I did a quick little computation and got:

7! + 1 = 712

However I think you will be stumped to find anymore, look near the bottom of this page:

http://mathworld.wolfram.com/FactorialSums.html
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
Replies
48
Views
6K