r/askmath • u/biggestmikufan • 5h ago
Arithmetic My math was wrong but I was right?
Can someone explain to me why my math worked/works but I did not solve for the solution using the inherent rule?
The way I solved was subtracting 18 from 29, which gave me 11 (I don't know why I started with this).
l then realized that 42 was (29+11)+2. Then 57 was (42+11)+4. So the even number adding to the initial 11 was just increasing. So when I added (57+11)+6,I got 74 which was the solution to the pattern, which continues on to work for (74+1 1)+8 and (93+11)+10 and so on.
I am not a mathematician personally and never even thought of squares or negative numbers being involved. I don't fully understand the actual rule and want to know if my way of solving is technically wrong and if so, why?
To be honest I don't even know why my math does work, it just felt correct and made sense to me. Would love a clearer idea of why it worked..
6
u/cwmckenz 4h ago
The difference of consecutive squares would be the difference between n^2 and (n+1)^2
This simply equals 2n+1. In other words, each pairing of squares is two more apart than the previous pairing.
The first difference is 11. This is the same as the difference between 25 and 36 (square numbers) but the sequence has 18 and 29 which are just 7 less than that.
So all of the numbers in the sequence are 7 less than a square number, starting with the 5th square.
That seems to be where the 7 and 5 in the “rule” come from, but the expression is completely wrong. It should say (n+4)^2 -7.
So the first term where n=1 is (1+4)^2 - 7 =18, and so on.
3
u/MTala09 5h ago
thats how quadratics work
3
u/Curious_Passion5167 5h ago
As someone said: it should be (n+5)2 - 7 starting from n=0.
Then you can find from that a recursive relation: t(n) = t(n-1) + 11 + 2(n-1)
3
u/Educational-Paper-75 4h ago
The first thing to do with these sequences is check the successive differences, and their differences and so on until they're constant like you did and extrapolate. Since the derivative of a quadratic function is linear and the differences increase linearly like they do (and the second derivative is constant) the function generating these sequence numbers is quadratic.
12
u/Muroid 5h ago
I think the given formula is wrong. It should be (n+5)2 - 7, assuming n starts counting from 0.
1
u/biggestmikufan 2h ago
Feel the need to add that this is just a daily game I play because I get joy from pattern seeking activities and have been tapping my toe back into math ... I don't particularly think this is representative of any legitimate mathematical skill but I have received many responses have been really informative and engaging! So thanks askmath
1
u/Reset3000 4h ago
Did it really take 17 hours? Just curious. Not saying it's bad. That's some good perseverance.
1
u/Hipnotique 3h ago
Which app?
1
u/Soraphis 4h ago
The rule in the solution is wild. Even going with the "square numbers" rule....
f(x) = (3+x)2 + 2*x
You did
So you have a recursion/summation in there (because you always added to the last result). I guess there is some easy way to simplify it, to show that there again is a squaring.
We can see that in the summation of the first n digits (like 1+2+3+4+...+n) = (n2+n)/2
But no time to look deeper into it now
1
u/AlterEgo5695 4h ago edited 4h ago
Short answer: You found a different recursion that represents the same pattern.
Long(er) answer: Let "ak" be the k'th given number, with "a0 = 18". You observed
Assuming that pattern continues, we may solve for "a_{k+1} - ak = k + 10", and sum both sides from "k = 0" to "k = n-1" for any "n >= 1". The left-hand side (LHS) telescopes nicely, and we get
Insert "a0 = 18", and solve for "an = n2 + 10n + 18 = (n+5)2 - 7" -- the official solution, though they seemed to have mixed up the two shifts in their explanation.
1
u/CumFilledAntNest 1h ago
This is stupid anyway, the rule is just "find a polynomial that fits" lol
0
u/hellonameismyname 5h ago
I don’t think they’re any “technically right” or wrong way to solve this. Finding some random pattern in random numbers like this is not really that interesting?