# Questions tagged [integer]

The tag has no usage guidance.

11 questions
Filter by
Sorted by
Tagged with
33 views

### Integer parameter assumption gives incorrect result when integrating

There are some dangerous pitfalls that can happen when evaluating some integrals, assuming that some parameters are integers. For example, consider the following: ...
108 views

### What is the fastest way to check whether a cubic equation is solvable in integers?

My code needs to check whether a lot of low-degree equations (usually quadratic and cubic) are solvable in integers. There are many equations, so the speed is crucial. Let us start with quadratic ...
43 views

### Choosing numbers whose divisors can be partitioned into subsets having the equal sum

How can we find the list of natural numbers between 100 to 10000, whose positive divisors can be partitioned into three subsets such that sum of all the elements in three subsets will be equal?
129 views

### Choosing a subset of a set based on the sum of its elements

How can we choose a subset of a set based on the sum of the elements of the subset? For instance, n=6 dn=Divisors[n] sn=DivisorSum[n,#&] Is it possible to ...
82 views

### making elements of matrix into integers [closed]

how to make elements in a matrix into integers? here is my matrix: ...
1 vote
145 views

### Help me plot this function [closed]

f[k] = -(1/2)^k - ((1/4) (1 - sqrt))^k/sqrt + ((1/4) (1 + sqrt))^k/sqrt (and also f[k] = 0 when k = 1,2) I need to make a lineplot of this function in k = 3,4,5,... ,20. why this does not ...
1 vote
71 views

### InputField : only integer or list of integers in a specific range

I'm making a dynamic structure which reads some output from a FEM program (node results). I'd like an inputfield in which I specify the number(s) of the nodes I am interested in. The value of the ...
1 vote
70 views

### Extending NumberForm

I'd like to define a function, call it NumberF, that takes a real number n and two naturals l...
Problem 2 in the 2017 Putnam exam is: Let $Q_0(x) = 1$, $Q_1(x) = x$, and $Q_n(x) = \frac{Q_{n-1}^2(x) - 1}{Q_{n-2}(x)}$. Show that $Q_n(x) \in \mathbb{Z}[x]\ \forall n \geq 0$. (Recall that $\mathbb{... 5 votes 2 answers 442 views ### Solving an equation over the integers Consider the problem of finding all values of$n \in \mathbb{N}$s.t. $$\sqrt{n} + \sqrt{n + 2005}$$ is an integer. One can easily verify that$n = 1,004,004$and$39,204\$ satisfy this requirement, ...
As shown in this video, the expression $$4 \sqrt{4 - 2 \sqrt{3}} + \sqrt{97 - 56 \sqrt{3}}$$ is in fact an integer. One way to check is: ...