Questions tagged [integers]

For questions about the structure, definition, and basic properties of the set of integers, or positive and negative whole numbers, commonly denoted $\mathbb{Z}$. Do not use this tag just because your question involves integers. Consider using (elementary-number-theory) or (number-theory) instead of or in addition to this tag.

The integers are the whole numbers, positive, negative and zero. That is, the integers are the numbers that appear in the infinite list

$$.\quad .\quad .\quad -5\quad -4\quad -3\quad -2\quad -1\quad 0\quad 1\quad 2\quad 3\quad 4\quad 5\quad .\quad .\quad .\quad$$

The set of all integers is denoted by $\mathbb{Z}$. The letter Z comes from the German word "Zahlen" which means "numbers". The integers are related to many other familiar sets of numbers:

$$\mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R} \subset \mathbb{C}.$$

The set of integers are closed under addition, subtraction, and multiplication. Together with the additive identity $0$ and the multiplicative identity $1$, the integers form an example of a commutative ring with unity. In fact, it is a Euclidean domain.

2606 questions
1
vote
1 answer

Integral Numbers Question

How many integer solutions are there to xyz=120? This is what I have tried so far: http://www.artofproblemsolving.com/Forum/viewtopic.php?f=150&t=609981 see the first solution in this thread. Any help would be appreciated. Thank you.
mihirb
  • 792
1
vote
2 answers

Calculate number of integers less than n fitting the form 6n±1

Of course the approximation is n/3, but I am looking for a way to get the number of integers, not an approximation.
jhpratt
  • 137
1
vote
3 answers

Equation that can easily be changed to output the digit in 1's, 10's ,100's etc?

I need an equation that can be easily changed to output the digit which is held in the 1's slot, 10's slot, 100's slot, etc. EX. I want the 100's digit in 6810 EX2. I want the 1's digit in 29115 What the equation should do is that once it is done…
1
vote
2 answers

$3a$ and $3b-8$ as consecutive numbers

Suppose that $a$ and $b-1$ are consecutive even numbers and $a
user1270647
1
vote
0 answers

Even/odd expressions

Let's suppose that $\{a, b, c\}$ are distinct integers between $1$ and $9$. If we consider two real numbers with decimal representation $a,b$ and $c,b$ that sum up to an even integer, which of the expressions among $a+b+c$, $(a+c)c$, $ac+b$, or…
user1270647
1
vote
0 answers

If $n>m>0, n, m \in \Bbb{N}$, is $n^m-m^n$ positive or negative? (Explain with cases if needed.)

If $n>m>0, n, m \in \Bbb{N}$, is $n^m-m^n$ positive or negative? (Explain with cases if needed.) First, for finding patterns, I've put some small integers to $(n, m).$ \begin{align} (2, 1): \; & 2^1-1^2=1>0 \\ (3, 2): \; & 3^2-2^3=1>0 \\ (4, 3):…
RDK
  • 2,623
  • 1
  • 8
  • 30
1
vote
0 answers

Vector of 16bit Integers

I would like to define a vector $\mathbf{s} = [s_1, \ldots, s_N]^{\operatorname{T}}$ with length $N$ where each element is a 16bit two's complement signed integer (in C one would write int16_t si = 0; for a scalar 16bit integer and int16_t s[N] =…
Fabian
  • 151
1
vote
0 answers

Proof for $n^2+1$ (for integer $n>1$), it has prime factor $p=4k+1$.

The proposition is: for any integer which has the form of $n^2+1$, if we factor it, it has prime factor $p=4k+1$ for some integer $k$. how can I proof it?
hwiba12
  • 13
1
vote
1 answer

Proving Multiplication on the Set of Integers is Well-defined

I'm using following definitions: On the set $\mathbb{N}\times\mathbb{N}$ we define an equivalence relation $\sim$ for all $(a,b)\in\mathbb{N}\times\mathbb{N}$ and $(c,d)\in\mathbb{N}\times\mathbb{N}$ as \begin{align*}\tag{I} (a,b)\sim…
PAT
  • 317
1
vote
1 answer

Numbers that can be expressed as $ab + a + b$

How many positive integers $n$ less than $100$ can be expressed in the form $ab + a + b,$ where $a,b$ are positive integers? I wasn't quite sure how to approach this problem besides simply finding values for all the numbers or making a table, so is…
1
vote
2 answers

Find the product of ($100$ digits of $3$) $333...3 × 2019$.

What is the product of $\underbrace{333...3}_\text{$100$ digits of $3$} \times2019$? I am trying to solve this problem $\underbrace{333...3}_\text{$100$ digits of $3$}$ $×$ $2019$ = $\underbrace{333...3}_\text{$100$ digits of $3$}$ $×$…
AYA
  • 578
1
vote
3 answers

The product of $46$ integers is $1$. Which of the following cannot be the sum of these $46$ integers?

I am solving a problem about integers. The product of $46$ integers is $1$. Which of the following cannot be the sum of these $46$ integers? $A.38$ $B.6$ $C.0$ $D.-14$ To solve this, I think, we can use these equations below since the only way to…
AYA
  • 578
1
vote
2 answers

Optimize integer division

I have two positive integers $x$ and $y$. I need to calculate $\frac{100x}{x+y}$ and $\frac{100y}{x+y}$, which sum up to $100$ of course. However, I can only perform integer division. And since the results still need to sum up to $100$, I calculate…
1
vote
0 answers

Problem text doesn't make sense

Below is a text of a problem: A new bakery shop sells $3$ sizes of cakes: big, medium, and small. Normally each cake costs a positive integer number of dollars. The ratio of the prices of two sizes of cake, in lowest terms, is the ratio of two…
Zhenek
  • 111
1
vote
1 answer

The following numbers have been picked at random from the set ${1,2,...,N}$. Numbers are: $212, 126, 382, 690, 1000, 739$. Estimate the value of $N$.

The following numbers have been picked at random from the set ${1,2,...,N}$. Numbers are: $212, 126, 382, 690, 1000, 739$. Estimate the value of $N$. I have no clue on how to start with this problem or any have any idea on what previous theorems i…