Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

This can be said as a simplification of the saying that everything is relative and nothing is absolute.

I think this "theory" should be more of a hypothesis.

Also, it would be really great if this thread was deleted.

hi Alg Num Theory;

I should have mentioned that the numbers must be unequal.

Thank you for pointing that out.

hi

I had posted the same thing twice in another thread. Would you please delete it?

**Amartyanil**- Replies: 6

hi;

If there is an equation satisying the relation:

and

How to prove that

is composite?**Amartyanil**- Replies: 2

hi;

Of the equation \(3x + 2y = 18\), how many positive integer solutions are there?

Is there any elegant solution to this problem rather than just brute force?

hi Grantimgriver;

I am sorry for not paying attention to the question. I am thus removing my post.

hi Grantingriver;

What if they are complex?

hi Grantingriver;

Is

?**Amartyanil**- Replies: 6

hi;

Suppose not all four integers a, b, c, d are equal. Start with

and repeatedly replace by . Then at least one number of the quadruple will eventually become arbitrarily large.The solution to this problem is:

Let

From the equation for

However I saw this result, can anyone explain how is it so?

Explain how this is so:

And explain what this statement means:

The distance of the points

How is it necessary that one component would become large if the distance increases?

Note: This is Example 5 of first chapter of Arthur Engel's Problem Solving Strategies.

Hi;

Does Combinatorics qualify as an "advanced topic" here?

[Note: It is taught is in high school level(enumerative)]

Is the answer

?hi;

Will using this formula in the code have a lesser complexity than the code originally posted?

\pi = 4 \sum_{k \geq 0} (-1)^k {1\over 2k + 1}

George,Y wrote:

If both of them succeeded, the mistake is located in main

I do not get your point, can you please explain it?

hi Benice;

Thanks for pointing out that the sone and stwo's would have been floats.

hi Agnishom;

That was not intentional. Thanks for pointing out.

However, can anyone please explain why the code was not working properly when I entered the datatype of sone and stwo as "int"?

Can you please tell how the code will be looking?

Yes. The run time or the execution time.

hi bob bundy;

For "not working properly", I mean that the program is getting frozen and not printing anything at all.

Can you please point out my code for bugs?

**Amartyanil**- Replies: 2

Hi;

How to calculate the number of steps carried out in C++ directly?

**Amartyanil**- Replies: 1

Hi;

Is it possible rearrange the words in a string in every possible way. If yes, how to do it?

**Amartyanil**- Replies: 9

Hi;

I have written a code in C++ for calculating the approximate value of

based on the formula:```
#include <iostream>
double CalculatePi(int acc)
{
int sone;
int stwo;
double pione = 0;
double pitwo = 0;
for (sone = 1; sone < acc; sone += 4) {
pione = pione + 1/sone;
}
for (stwo = 3; stwo < acc; sone += 4) {
pitwo = pitwo - 1/stwo;
}
double potentialpi;
potentialpi = pione + pitwo;
std::cout << potentialpi * 4 << std::endl;
return 0;
}
int main()
{
std::cout << "Enter accuracy: ";
int accuracy;
std::cin >> accuracy;
CalculatePi(accuracy);
return 0;
}
```

However, this code is not working properly and is not returning anything when I am inputting "acc"(for accuracy) more than 2.

Can anyone please help me out here?

**Amartyanil**- Replies: 11

Hi;

Can anyone please provide a detailed solution for this problem?

All the letters of the word 'EAMCOT' are arranged in different possible ways. Find the number of arrangements in which no two vowels are adjacent to each other

Is there any program for solving this? If yes, please provide the code.

Hi;

Do we count only the unlike terms and state them only as terms?

Hi;

See this algebraic expression:

4x +9x

It is a binomial.

When it is written 13x, it is a monomial.

Then what type of expression is this?

Hi bobbym;

In my book of Computer Science(Now I am in 7th Grade), the Russian method is taught, i think it is quite easier.

Hi;

I am new to coding and I did not understand the meaning of module.