[Remember Your Squares] Something I Found

  • Thread starter SomeGuy121
  • Start date
  • Tags
    Squares
In summary, the conversation discusses using variables to represent numbers and finding formulas for the sums of squares and odd numbers. It also suggests using a loop to list squares without using multiplication or squaring functions. The conversation also references Faulhaber's Formula for exploring further.
  • #1
SomeGuy121
8
0
Let x = 1.
Let n = Next Odd Number
Let y = Previous Sum

x2 = x
+3 = 4 = (1+x)2
+5 = 9 = (3+x)2
+n = n+y = (n-2 + x)2

You could make a program to list all the squares without invoking the multiplication function or squaring function using a simple loop.

C++ Example:

#include "stdafx.h"
#include <iostream>
using namespace std;


int _tmain(int argc, _TCHAR* argv[])
{
cout<<"Squares: \n\n";
int sum=1,nextOdd=1; // Sum is Starting Integer Squared, Declared X in the For Loop below

for(int x=1;x<100;x++)
{
cout<<x<<" Squared is "<<sum<<"\n";
nextOdd+=2;
sum+=nextOdd;
}
system("pause");
}
 
Physics news on Phys.org
  • #2
You've discovered that
[tex]\sum_{k=1}^n2k-1=n^2[/tex].
Congratulations.

Can you transform that into a formula for [tex]\sum_{k=1}^nk[/tex]? Can you find one for [tex]\sum_{k=1}^nk^2[/tex]?

You can check your work afterward, and even glimpse what's beyond:
http://mathworld.wolfram.com/FaulhabersFormula.html
 
  • #3
Are you being sarcastic with "congratulations"?
 

Related to [Remember Your Squares] Something I Found

1. What is "[Remember Your Squares] Something I Found" about?

"[Remember Your Squares] Something I Found" is a scientific study that focuses on the phenomenon of remembering squares, specifically when they are presented in a visual or auditory format. It aims to understand the cognitive and neural processes involved in this type of memory recall.

2. How is the study conducted?

The study involves presenting participants with a series of visual and auditory squares in a controlled setting. The participants are then asked to recall the squares they have seen or heard in a specific order. This process is repeated multiple times to gather data on the accuracy and speed of recall.

3. What have been the findings of this study so far?

The study has found that individuals have a higher accuracy in recalling visual squares compared to auditory squares. It has also identified specific areas of the brain that are involved in the processing and retrieval of visual and auditory memories.

4. What is the significance of this study?

This study contributes to our understanding of human memory and the differences between visual and auditory recall. It may also have implications for the development of memory-enhancing techniques and therapies.

5. Are there any limitations to this study?

As with any scientific study, there are limitations to consider. This study may not be representative of the entire population as it only involves a small sample size. Additionally, the controlled setting may not accurately reflect real-life memory scenarios. Further research is needed to confirm and expand upon these findings.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
3
Views
778
  • Programming and Computer Science
Replies
12
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Programming and Computer Science
Replies
15
Views
2K
  • Programming and Computer Science
Replies
3
Views
752
  • Programming and Computer Science
Replies
5
Views
1K
  • Programming and Computer Science
Replies
1
Views
901
  • Programming and Computer Science
Replies
5
Views
2K
  • Programming and Computer Science
3
Replies
89
Views
4K
  • Programming and Computer Science
Replies
4
Views
817
Back
Top