Skip to main content

Questions tagged [integer-sequences]

For questions about sequences of integers. References are often made to the online resource oeis.org.

Filter by
Sorted by
Tagged with
4 votes
0 answers
414 views

Explicit formula for tournament sequence

I am looking for an explicit formula for a sequence. The sequence is generated as follows: There is a tournament with $10$ teams. In the beginning, all teams have a 0-0 win-loss record. The teams are ...
Jackson's user avatar
  • 41
2 votes
2 answers
178 views

Fibonacci-like sequence

Fix three integers $a, b, c$ and consider a sequence of integers $a_{i,j}$ defined, for $i \ge 0, j \ge 0$, recursively as follows: $a_{i,0}=1$ for every $i$, $a_{0,j}=a+bj+cj^2$ and, for $i \ge 1, j \...
Cob's user avatar
  • 331
1 vote
0 answers
100 views

Subsequence such that $c(a(n))=2^n$

Let $a(n)$ be A060831, i.e., $\sum\limits_{k=1}^{n}\operatorname{number of odd divisors of} k$. Let $$\ell(n)=\left\lfloor\log_2 n\right\rfloor$$ Let $$b(n,k)=2b(n,k-1)-2^{k-1}, b(n,0)=n$$ Let $c(n)$ ...
Notamathematician's user avatar
1 vote
0 answers
70 views

Is this factorization problem in EXP?

Factorization is not known to have a polynomial time algorithm. Traditionally the input length is number of bits in representation of the integer to be factored. However now consider integers of form $...
Turbo's user avatar
  • 13.9k
1 vote
1 answer
123 views

Given a real $x>1$, construct an aperiodic substitution sequence whose complexity functions grow like $xn$

The Fibonacci word is a binary sequence defined as follows. We use a substitution rule $0\to 01$, $1\to 0$. Then, starting with the binary string $0$, apply the substitution rules successively. So we ...
Darren Ong's user avatar
2 votes
0 answers
157 views

Closed form for the A347205

Let $q(n)$ be A007814, i.e., number of trailing zeros in the binary representation of $n$. Here $$q(2n+1)=0, q(2n)=q(n)+1$$ Let $\operatorname{wt}(n)$ be A000120, i.e., number of $1$'s in binary ...
Notamathematician's user avatar
2 votes
0 answers
115 views

Closed form for the sum of the integer coefficients

Let $a(n)$ be A002720, i.e., number of partial permutations of an $n$-set; number of $n \times n$ binary matrices with at most one $1$ in each row and column. $$a(n)=\sum\limits_{k=0}^{n} k!\binom{n}{...
Notamathematician's user avatar
2 votes
0 answers
239 views

Chess pieces metrics in higher dimensions

A couple of days ago, I was thinking about applying the knight (the well-known piece of chess) metric to any cubic lattice $\mathbb{N}^k$, $k \in \mathbb{N}-\{0,1\}$. I suddenly realized that, from $k ...
Marco Ripà's user avatar
  • 1,451
4 votes
1 answer
2k views

What do we know about Lucky numbers?

I'm really fascinated by lucky numbers (Wikipedia; OEIS A000959) and their prime-like characteristics. Wolfram states: write "out all odd numbers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, .... The ...
Happydugongo's user avatar
0 votes
0 answers
94 views

Closed form for the number of steps required to get $n$ balls in the last box

Let $\operatorname{wt}(n)$ be A000120, i.e., number of $1$'s in binary expansion of $n$ (or the binary weight of $n$). Then we have an integer sequence given by $$a(n)=n(n+1)-\sum\limits_{k=0}^{n}\...
Notamathematician's user avatar
1 vote
1 answer
115 views

Cardinality of $\{ n_i + i^k: i \in \mathbb{N} \} \cap [1,T]$ where $\{n_i \}$ is all natural numbers in some order

Let $n_1, n_2, ...$ be a sequence of natural numbers such that $\{n_i: i \in \mathbb{N}\}$ as a set is all of natural numbers. Let $k$ be a positive integer. Is is possible to obtain a lower bound of ...
Johnny T.'s user avatar
  • 3,625
4 votes
2 answers
611 views

Ask for a generating function or an explicit expression of a triangle of positive integers

Preliminaries I encountered the following triangle of positive integers: $c_{n,k}$ $n=1$ $n=2$ $n=3$ $n=4$ $n=5$ $n=6$ $n=7$ $n=8$ $k=0$ $1$ $3$ $15$ $105$ $315$ $3465$ $45045$ $45045$ $k=1$ $5$ $...
qifeng618's user avatar
  • 1,101
0 votes
1 answer
104 views

Non-Wieferich primes with Euler quotient modulo $p$ two and alternating harmonic numbers

Let $b(n)$ denote the Euler quotient modulo $n$. In OEIS we have A128465 Numbers k such that k divides the numerator of alternating Harmonic number H'((k+1)/2) For $n>1$ we have $b(A128465(n))=2$. ...
joro's user avatar
  • 25.4k
0 votes
0 answers
110 views

What will be the set of non-Wieferich numbers if the set of non-Wieferich primes is finite?

Integer $n$ is Wieferich number if $2^{\phi(n)}-1 \equiv 0 \pmod {n^2}$. Wieferich prime is Wieferich number with $n$ prime. It is an open problem if there are infinitely many Wieferich primes and ...
joro's user avatar
  • 25.4k
3 votes
0 answers
165 views

Closed form for $a(2^m(2^n-2^p-1))$

Let $q(n)$ be A007814, i.e., the number of trailing zeros in the binary representation of $n$. Here $$q(2n+1)=0, q(2n)=q(n)+1$$ Let $a(n)$ be A329369. Here $$a(2n+1)=a(n), a(2n)=a(n)+a(n-2^{q(n)})+a(...
Notamathematician's user avatar
2 votes
1 answer
174 views

Asymptotic analysis of a peculiar sum of squares sequence

Let $a,b$ be two positive integers. Let the sequence $\{s_n\}_n$ be the set of all possible sums of squares $a^2+b^2$, such that they are in ascending order \begin{align*} & n=1 & s_1=1^2+1^2=...
TheVal's user avatar
  • 151
1 vote
2 answers
390 views

Are there infinitely long arithmetic progressions in every increasing sequence of positive integers with bounded gaps between consecutive terms?

Suppose the largest gap is D>1 and at least two of the gaps 1,2,...,D appear infinitely many times. I think the answer is NO. But I find it difficult to formulate a necessary and sufficient ...
Kai Wang's user avatar
0 votes
1 answer
101 views

Recurrence for the number of steps required to get one ball in each box

Given $n$ balls, all of which are initially in the first of $n$ numbered boxes, $a(n)$ is the number of steps required to get one ball in each box when a step consists of moving to the next box every ...
Notamathematician's user avatar
1 vote
0 answers
67 views

Recurrence for permutation of A007306 (denominators of Farey tree fractions)

Let $a(n)$ be A071585, i.e., numerator of the continued fraction expansion whose terms are the first-order differences of exponents in the binary representation of $4n$, with the exponents of $2$ ...
Notamathematician's user avatar
5 votes
0 answers
255 views

How to solve the recursive formula $$A(n,k)=A(n-1,k)+A(n,k-1)+A(n-1,k-1)$$

Is there any known solution for the recursive formula $$A(n,k)=A(n-1,k)+A(n,k-1)+A(n-1,k-1)$$ for given initial values A(0,0), A(1,0) and A(0,1)? Does this formula have any geometric or combinatorial ...
Nan's user avatar
  • 81
1 vote
0 answers
100 views

Conjecture on numbers $k$ having only one partition into parts with same binary weight as a binary weight of $k$

Let $\operatorname{tr}(n)$ be A007814, number of trailing zeros in the binary representation of $n$. Also, let $\operatorname{ntr}(n)$ be A086784, number of non-trailing zeros in the binary ...
Notamathematician's user avatar
3 votes
1 answer
92 views

Partition of $(2^{n+1}+1)2^{2^{n-1}+n-1}-1$ into parts with binary weight equals $2^{n-1}+n$

Let $\operatorname{wt}(n)$ be A000120, i.e., number of $1$'s in binary expansion of $n$ (or the binary weight of $n$). Let $a(n,m)$ be the sequence of numbers $k$ such that $\operatorname{wt}(k)=m$. ...
Notamathematician's user avatar
1 vote
2 answers
183 views

Weirdness in the sequence "the number of divisors for a weird number"

I thought it would be fun to give my froshling students a short programming assignment to characterize numbers as: deficient, abundant, perfect, and prime. Then I got a little carried away and started ...
Prester John's user avatar
1 vote
0 answers
67 views

Counting pieces when an object is cut n ways

I was reading a passage from an old essay by Martin Gardner on the calculus of finite differences, and it seems to me that there is more that can and should be said about seemingly anomalous values of ...
James Propp's user avatar
  • 19.7k
2 votes
1 answer
128 views

Is there a way to find all number series whose formulae of general term contain progressions?

Let $\{c_{m,n}\}_{m,n\in\mathbb{N}}$ be known complex numbers. My question is, how to find all number series $\{a_{n}\}_{n\in\mathbb{N}}$ such that $$a_n=\sum_{m=0}^\infty c_{m,n}a_{m+n},~\forall n\...
Ren Guan's user avatar
  • 111
1 vote
1 answer
1k views

How many non-isomorphic, simple, connected graphs with 6 vertices are there? [closed]

A graph is called simple if there are no loops and there are no multiple edges. Is it possible to compute the number of non-isomorphic, simple, connected graphs with 6 vertices? If the number is known,...
John Depp's user avatar
  • 331
0 votes
0 answers
130 views

What can we say about the following number sequence?

$\{b_n\}_{n\geq0}$ is a number sequence satisfying the following condition: \begin{equation} b_{m}=\sum_{r=0}^m\sum_{h=0}^r\left(\frac{m!}{(m-r)!(r-h)!h!}\right)^2b_{m+h-r}b_{r},~\forall m\in\...
Ren Guan's user avatar
  • 111
7 votes
2 answers
805 views

Distance among integer set

Given an integer set, if the distances between integers in the set are still in the set, what mathematical term should be used to describe that nature? Or what nature does the set have? For example, $...
hui cj's user avatar
  • 79
1 vote
1 answer
181 views

On the sequence $a(n)=\gcd(2^n-1,\phi(2^n-1))$

For natural $n$, define the sequence $$ a(n)=\gcd(2^n-1,\phi(2^n-1)) $$ It doesn't appear to be in OEIS and starts $1,1,1,1,9,1,1,1,3,1,9,1,3,1,1,1,27,1,75,49$ Q1 Can we unconditionally prove $a(n)=1$...
joro's user avatar
  • 25.4k
3 votes
1 answer
165 views

Are there infinitely many nonzero Euler quotients $a(n)=\frac{2^{\phi(n)}-1}{n} \bmod n$?

This might be related to an open problem. For odd natural $n$ define the Euler quotient: $$ a(n)=\frac{(2^{\phi(n)}-1) \bmod n^2}{n}=\frac{2^{\phi(n)}-1}{n} \bmod n$$ Q1 Are there infinitely many $n$ ...
joro's user avatar
  • 25.4k
10 votes
2 answers
735 views

A number sequence problem involving binomial transform

Let $\{b_n\}_{n\geq0}$ be a sequence such that $b_nb_{n+1}=0$ and define $$a_n:=\sum_{k=0}^n(-1)^{n-k}\binom{n}{k}b_k.$$ If $\lim_{n\to\infty}a_n=0$, can we conclude that $b_n=0$ for all $n$? More ...
Ren Guan's user avatar
  • 111
6 votes
1 answer
402 views

Values of the determinants $\det[(j-k)^m+\delta_{jk}]_{1\le j,k\le n}\ (m=1,2,3,\ldots)$

For positive integers $m$ and $n$, let $D_m(n)$ denote the determinant $\det[(j-k)^m+\delta_{jk}]_{1\le j,k\le n}$, where the Kronecker delta $\delta_{jk}$ is $1$ or $0$ according as $j=k$ or not. ...
Zhi-Wei Sun's user avatar
  • 15.6k
2 votes
1 answer
153 views

Bounds for the sequence $a(n)=a(n-1)+a(\lfloor n-n^A \rfloor)$

Related to the question about a(n)=a(n-1)+a(floor(n/2)) Let $A$ be real constant $ 0 < A < 1$. Define the sequence $a(n)$ by $a(1)=1, a(n)=a(n-1)+a(\lfloor n-n^A \rfloor)$ (if you prefer take $a'...
joro's user avatar
  • 25.4k
1 vote
0 answers
194 views

Closed form for partial sums of A103318

Let $a(n)$ be A103318, number of solutions $i$ in range $[0,n-1]$ to $i \equiv 0 \pmod {2^{n-i}}$: the sequence begins with $$1, 1, 2, 1, 2, 2, 2, 1, 2, 2, 3, 1, 2, 2, 2, 1, 2, 2, 3, 2$$ Also let's ...
Notamathematician's user avatar
8 votes
0 answers
318 views

Why are these Littlewood-Richardson coefficients congruent to 1 mod 8?

Let $n\in{\mathbb N}$ and write $n=q_1+q_2+\dots+q_t$, where $q_1>q_2>\dots>q_t$ are powers of $2$. Let $\lambda_n$ be the partition with Frobenius symbol $(q_1-1,q_2-1,\dots,q_t-1;q_t,q_{t-1}...
John Murray's user avatar
  • 1,090
2 votes
1 answer
133 views

Conjectural congruences for numbers related to Littlewood-Richardson coefficients

For $n \geq 0$, let $a_n$ be the square of the Euclidean length of the vector of Littlewood-Richardson coefficients of $\sum_{\lambda \vdash n} s_\lambda^2$, where $s_\lambda$ are the symmetric Schur ...
James Propp's user avatar
  • 19.7k
6 votes
0 answers
140 views

Do you recognize these numbers related to the higher Airy equations?

I'm studying the higher Airy equations $$\left[\big({-}\tfrac{\partial}{\partial y}\big)^{n-1} - y\right] \psi = 0$$ under a coordinate transformation. The interesting coefficients $c_n^{(1)}, \ldots, ...
Vectornaut's user avatar
  • 2,284
2 votes
1 answer
205 views

Difference sequences of sets of integers

In this paper, the conception of the difference sequence and $\infty$-difference length of a subset of groups is introduced. As an important case, subsets of the additive group of integers are ...
M.H.Hooshmand's user avatar
1 vote
0 answers
153 views

A definition related to pseudoprimes and the Dedekind psi function

In this post we consider that $\psi(k)$ denotes the Dedekind psi function. Wikipedia has an artcle dedicated to this arithmetic function Dedekind psi function defined for a positive integers $m>1$ ...
user142929's user avatar
0 votes
1 answer
90 views

Reducing recurrence relations mod10 [closed]

I have been playing around with integer sequences as of late, and the following question occurred to me: Suppose for $m$ fixed we have some some initial values $a_1,\cdots,a_m$ and for all $n\in\...
lordralphnewman's user avatar
1 vote
1 answer
227 views

Invariants ("checksums", "hash") for collection of integers

The sum of a collection of integers doesn't depend on the order of the integers and can detect the corruption of one element of the collection (but multiple elements can get corrupted without their ...
user1823664's user avatar
26 votes
3 answers
907 views

What is the smallest size of a shape in which all fixed $n$-polyominos can fit?

Let $n$ be an integer and consider all fixed $n$-polyominos, i.e., without rotation or reflection. I am interested in finding a shape in which all polyominos can embed. (It is OK if multiple ...
a3nm's user avatar
  • 431
4 votes
1 answer
322 views

Combinatorics related plane geometry

There are $n$ men, standing one at each vertex of a convex $n$-gon. If they are allowed to move together along sides or diagonals of the polygon to reach another vertex, how many different ways are ...
Janaka Rodrigo's user avatar
3 votes
1 answer
159 views

Limit associated with two Beatty sequences that are not a Beatty pair

Suppose that $r>1$ and $s>1$ are irrational numbers, and let $a_n=\lfloor nr \rfloor$ and $b_n=\lfloor ns \rfloor$. Assume that $r$ and $s$ are numbers for which $\{a_n\}\cap\{b_n\}$ is ...
Clark Kimberling's user avatar
4 votes
1 answer
219 views

Numbers $n$ whose representation as the product of two divisors require more digits than that of $n$

Note: Posting in MO since it was unanswered in MSE Let $f(x)$ be the number of digits in the decimal representation of $x$ e.g. $, f(0) = 1, f(1729) = 4$. If $n = ab$ then we can show that $f(ab) > ...
Nilotpal Kanti Sinha's user avatar
5 votes
0 answers
1k views

A generalization of the difference of squares identity

Let us find explicit integer functions for the coefficients of the monomial expansion of $$ Q \left( x_1, \ldots , x_n \right) = \prod_{\left( \kappa_1, \ldots , \kappa_{n-1} \right) \in \{-1,1\}^{n-1}...
PalmTopTigerMO's user avatar
6 votes
1 answer
224 views

Sequence A76132 eventually periodic modulo $2,3$ and $5$

Sequence A76132 starting as $1,1,2,4,10,36,218,\ldots$ of the OEIS is recursively defined by $a(1)=1$ and $a(n)=\sum_{k=1}^{n-1}a(n-k)^k$ for $n\geq 2$. It is eventually periodic of period 1,1 and 34 ...
Roland Bacher's user avatar
5 votes
1 answer
179 views

A common combinatorial description for a certain type of recurrences

For integer-valued sequences $(x_n)_{n=0}^\infty$, consider recurrences of the form $$x_n=ax_{n-1}+(bn+c)x_{n-2} \tag{$*$}\label{star}$$ for $n\ge2$, where $a,b,c$ are integers. There seem to be many ...
Iosif Pinelis's user avatar
3 votes
0 answers
195 views

Is this sequence always periodical?

Is the following sequence always periodical?
Bernardo Recamán Santos's user avatar
2 votes
0 answers
108 views

How to compute/estimate the least $k$ such that there exist $n$ consecutive integers each having a prime factor $\le k$?

Let $a_n$ be the least integer $k$ such that there exist $n$ consecutive integers each with a prime factor $\le k$. For example, $a_{13} \le 11$ because the 13 consecutive integers $114,115,\ldots,126$...
tuna's user avatar
  • 523

1 2
3
4 5
8