Questions tagged [integer-sequences]
For questions about sequences of integers. References are often made to the online resource oeis.org.
414 questions
0
votes
1
answer
145
views
The existence of closed form solutions for Ta(4)
While there are known examples of numbers expressible as a sum of two positive integer cubes in four distinct ways like $6963472309248 = 2421^3 + 19083^3 = 5436^3 + 18948^3 = 10200^3 + 18072^3 = 13320^...
5
votes
0
answers
135
views
Is the Champernowne sequence polynomially normal?
Let $s:\mathbb{N}\to\{0,1\}$ be the Champernowne sequence, starting with $$0\, 1\, 10\, 11\, 100\, 101\, 110\,\ldots$$
It is well known that this sequence is normal.
Question. If $p:\mathbb{N}\to\...
24
votes
1
answer
2k
views
A mysterious recurrence for primes
For any positive integer $n$, define $s(n)$ as the smallest positive integer $m$ such that the $n$ distinct numbers
$$ (p_1-1)^2,\ (p_2-1)^2,\ \ldots,\ (p_n-1)^2$$
are pairwise incongruent modulo $m$,...
3
votes
0
answers
217
views
On the set $\{\sum_{k=1}^n p_k:\ n = 1,2,3,\ldots\}$
For any positive integer $n$, let $S(n)$ be the sum of the first $n$ primes. Then
$$S(1) = 2,\ S(2)=2+3=5,\ S(3)=2+3+5 =10,\ S(4) = 2+ 3+5+7 =17.$$
By the Prime Number Theorem,
$$S(n)\sim \frac{n^2}2\...
0
votes
0
answers
105
views
Are there a finite numbers of zeros in this integer sequence?
Consider the triangular array $T(n,k)_{1 \le k \le n}$ defined by the recurrence \begin{align*} T(n,1) &= 1, \\ T(n,k) &= 1+\sum_{i=1}^{k-1} T(n - i, k - 1) -\sum_{i=1}^{n-1} T(n - i, k). \end{...
2
votes
1
answer
158
views
Is it true that $\{p_{2^m+1}-p_{2^m}:\ m\in\mathbb Z^+\}=\{2n:\ n\in\mathbb Z^+\}$?
For $n\in\mathbb Z^+=\{1,2,3,\ldots\}$, let $p_n$ denote the $n$th prime. A well known conjecture of de Polignac states that for any $n\in\mathbb Z^+$ there are infinitely many $k\in\mathbb Z^+$ with $...
4
votes
1
answer
278
views
On the number of $0$-$1$ vectors with pairwise distinct sums $v_i + v_j$
Let $n \ge 1$. A set of vectors $v_1, \ldots, v_m \in \{0,1\}^n$ is called admissible if all pairwise sums $v_i + v_j$ (with $1 \le i \le j \le m$) are distinct. We want to find the number $a(n)$, ...
15
votes
0
answers
368
views
Existence of an odd prime $p$ such that the sum of last two base-$p$ digits is at least $p$
I conjecture that
For every integer $k>78$, there exists an odd prime $p$ such that the sum of last two base-$p$ digits of $k$ is $\geq p$.
We may additionally assume that $k+1$ is a prime, a ...
2
votes
1
answer
382
views
Derive homogeneous recurrence from second order one
Let $a,b \in \mathbb{R}$ and sequece $\{f(n)\}_{n=1}^{\infty}$ is given by homogeneous second order recursive relation
$$
f(n):=af(n-1)-b^2f(n-2), \:\:\: n>2
$$
with two arbitrary starting values $...
0
votes
0
answers
166
views
A conjecture involving the partition function and the strict partition function
Let $n$ be a positive integer, and let $\varphi$ be Euler's totient function. Clearly $n>\varphi(n)$ for any integer $n>1$. An open conjecture of Lehmer states that $$n\not\equiv1\pmod{\varphi(n)...
1
vote
1
answer
139
views
Property of Euler or up/down numbers: $a(k) \mid a(\varphi(a(k))n+k)$ for $k > 3, n \in \mathbb{N}$
Let
$a(n)$ be A000111, i.e., Euler or up/down numbers whose exponential generating function $f(x)$ satisfies $$ f(x) = \sec(x) + \tan(x). $$
$\varphi(n)$ be A000010, i.e., Euler totient function. ...
2
votes
0
answers
168
views
Curious congruences involving Domb numbers
The Domb numbers given by
$$D_n:=\sum_{k=0}^n\binom{n}{k}^2\binom{2k}k\binom{2(n-k)}{n-k}\ \ (n=0,1,2,\ldots)$$
arising from enumerative combinatorics have many interesting properties (cf. https://...
1
vote
0
answers
190
views
How quickly does the sum of prime factors chain grow?
Consider the sequence defined as follows:
Start with a number N. Compute the prime factors of N with multiplicity, and add 1. Then, sum this list together to get N'. Iterate this procedure until you ...
2
votes
1
answer
319
views
Partial sum approximation for sequences with bounded average
Let $(a_n)_{n \ge 1}$ be a sequence of positive integers such that
$$
a_1 + a_2 + \cdots + a_n \leq Kn \quad \text{for all } n \in \mathbb{N},
$$
for some constant $K > 0$.
Is the following ...
-3
votes
1
answer
187
views
Universal sequence $u:\mathbb{N}\to\mathbb{N}$ with respect to subsequences [closed]
$\def\NN{\mathbb{N}^\mathbb{N}}$Let $\NN$ denote the set of sequences (maps) $f:\mathbb{N}\to\mathbb{N}$. Is there $u\in\NN$ such that for all $f\in\NN$ there is $s\in\NN$ such that $s$ is strictly ...
6
votes
2
answers
671
views
Is $a(n)=(34^n+1)/(34+1)$ ever prime for odd $n>3$?
Is $a(n)=(34^n+1)/(34+1)$ ever prime for odd $n>3$?
$n$ must be prime because of polynomial factorization.
There are no counterexamples up to $n=11,000$ and there are no
congruence obstructions ...
0
votes
0
answers
78
views
Algorithms for generalized sieves (step of removing, position of remained term and $n$-th remained term)
Let
$a$ be an arbitrary non-decreasing integer sequence such that $a(1) = 2$. Here $a(n)$ is $n$-th term of $a$.
$b$ be an integer sequence of numbers $k$ such that $a(k+1)>a(k)$. Here $b(n)$ is $...
1
vote
0
answers
124
views
On $a_n(x)=\sum_{i,j=0}^n \binom ni^2\binom nj^2\binom{i+j}ix^{i+j}$ (III)
As in Question 491655 and Question 491762, we define
$$a_n(x):=\sum_{i,j=0}^n\binom ni^2\binom nj^2\binom{i+j}ix^{i+j}$$
for each nonnegative integer $n$.
Here we pose some curious congruences ...
3
votes
1
answer
226
views
INVERT transform as determinants of certain Hessenberg Toeplitz matrices
Let
$a(n)$ be an arbitrary integer sequence with $a(n)=0$ for $n \leqslant 0$ and ordinary generating function $A(x)$.
$b(n)$ be an INVERT transform of $a(n)$ and whose ordinary generating function ...
0
votes
1
answer
267
views
Lengths of arithmetical sequences and arithmetical images for bijections $\varphi:\mathbb{N}\to\mathbb{N}$
We call a finite subset $S\subseteq \mathbb{N}$ arithmetical if there are $n, k\in\mathbb{N}$ with $k>1$ such that $S = \{n+j: 0 \leq j\leq k\}$.
Given an integer $\ell>0$ and a bijection $\...
0
votes
0
answers
64
views
Question about the number of correct digits of $e$ generated by a self-iterated quadratic map
For a fixed $n$, the sequence is defined as $S_n(k+1) = S_n(k) \times S_n(k)$, with $S_n(0) = 2^n + 1$. It's quite obvious that the first $n$ binary digits of $S_n(n)$ match those of $e$, give or take....
17
votes
3
answers
970
views
A formula for Apéry numbers
In my research, I came across the following formula for Apéry numbers:
$$ a_n = \sum_{i=0}^n \sum_{j=0}^n {n \choose i}^2 {n \choose j}^2{i+j \choose i}.$$
This formula does not seem to appear in the ...
0
votes
0
answers
85
views
Property of the family of integer coefficients
Let $f(n)$ be an arbitrary function with integer values.
Let $T(n,k)$ be an integer coefficients such that
$$
T(n,k) = \sum\limits_{j=2}^{n-k+1} f(j) \binom{-k}{j} T(n, k+j-1), \\
T(n,n) = 1.
$$
I ...
1
vote
1
answer
489
views
Closed form for the general term of $2, 49, 15625, 625, \dotsc$
Let $a$ be a nonnegative integer not a multiple of $10$. Let $\nu_p(\ldots)$ indicate the $p$-adic valuation of the argument.
We have recently introduced the so called "constant congruence speed ...
5
votes
1
answer
413
views
Complicated sum equals $n+1$
Let $a(n,m)$ be the family of integer sequence such that
$$
a(n,m) = \sum\limits_{i=0}^{n} \sum\limits_{j=0}^{i} \frac{(i+m)^{n-i+j}(-1)^{n-i}}{j!(n-i)!}.
$$
I conjecture that for any $m$ we have
$$
a(...
1
vote
0
answers
74
views
On the period of $a(n)=(n-1)a(n-1)+a(n-2)$ modulo $N$
Define the linear recurrence with polynomial coefficients
$$a(0)=0,a(1)=1,a(n)=(n-1)a(n-1)+a(n-2)$$
It is A001040 and per comments
is the numerator of the continued fraction $[1,2,3,\ldots,n-1]$
Let $...
4
votes
0
answers
175
views
On the smallest positive solution of $x! \equiv (2x)! \pmod{N}$
For natural $N$ define $\rho(N)$ to be the smallest positive solution
of $x! \equiv (2x)! \pmod{N}$
$\rho(N) \le N$ since $N!$ vanishes.
Q1 Are there any closed form properties of $\rho(N)$ known?
Q2 ...
1
vote
0
answers
93
views
Sequence that sums up to A347420
Let $a(n)$ be A347420 (i.e., number of partitions of $[n]$ where the first $k$ elements are marked $(0 \leqslant k \leqslant n)$ and at least $k$ blocks contain their own index).
Let $f(n,q)$ be an ...
6
votes
1
answer
353
views
Find the smallest odd integer $n>1$ such that $\phi(\tau(n))=\tau(\phi(n))$
Question: What is the smallest odd integer $n>1$ such that $\phi(\tau(n))=\tau(\phi(n))$?
OEIS A078148 has a list of the positive integers $n$ which satiafies $\phi(\tau(n))=\tau(\phi(n))$, where $\...
3
votes
1
answer
155
views
Equivalence of closed forms
Let $a(n,m)$ be the family of integer sequences such that
$$
a(n,m) = (n+1)\left(\left[m + \sum\limits_{i=1}^{n+1} \frac{1}{i}\right](-1)^n + \sum\limits_{i=1}^{n} \binom{n+1}{i}\frac{1}{i}(i+1)^m(-1)^...
5
votes
2
answers
2k
views
Shifting an irrational binary sequence
Let $\newcommand{\tn}{\{0,1\}^\mathbb{N}}\tn$ be the collection of all infinite binary sequences. For $s\in\tn$ and $k\in\mathbb{N}$ let the left-shift of $s$ by $k$ positions, $\ell_k(s)\in \tn$, be ...
1
vote
0
answers
148
views
Curious congruences modulo $4$ involving primes
We define
$$S(n)=\sum_{a=2+(n\pmod 2)}^{n-2}
\sharp(\{j,1\leq j<n \pmod{a},(a,j)=1\})\ .$$
(Searching the OEIS yielded no results.)
For $n>2$ we have the following experimental observations (...
2
votes
1
answer
344
views
Does the Apéry-like sequence $A_n=(n!)^2\sum_{k=0}^n { \rho \choose k}^2 { \rho+n-k \choose n-k}, \rho=e^{2 \pi i/3}$ change signs infinitely often?
This is an integer sequence OEIS sequence A217703.
It satisfies an order 3 recurrence which is the constant term $A_n=u_n(0)$ of a three term recurrent sequence of polynomial defined by
$$u_0(x)=1,u_1(...
6
votes
1
answer
357
views
Integral points of polynomials - a Furstenburg-type "topology" on $\mathbb{Z}$
Given $S \subseteq \mathbb{C}$, define $\displaystyle \mathfrak{c}(S) = \bigcap_{p(x) \in \mathbb{C}[x] \wedge p(S) \subseteq \mathbb{Z}}p^{-1}(\mathbb{Z}) \supseteq S$ ("the integral points ...
6
votes
1
answer
223
views
$\omega$-de-Bruijn sequences
Let $\omega$ denote the set of non-negative integers. For which integers $n>1$ is there a sequence $b_n: \omega\to\omega$ with the following property?
Whenever $v\in\omega^n$ there is a unique $...
10
votes
0
answers
390
views
Permutation of positive integers
Let $a_n$ be a sequence such that $a_1=1$ and for each $n \geq 1$ $a_{n+1}$ is the smallest positive integer distinct from $a_1,a_2,...,a_n$ such that $\gcd(a_{n+1}a_n+1,a_i)=1$ for each $i=1,2,...,n$....
1
vote
0
answers
203
views
A new Conjecture at OEIS sequence A376842
Here is a new conjecture of mine from the appendix of an unpublished manuscript currently under review.
Let $b \in \mathbb{Z}^+$ and assume that $n$ is an integer greater than $1$ and not a multiple ...
1
vote
0
answers
110
views
Generating functions related to generating function of Catalan numbers
Let $C_n$ be A000108 (i.e., Catalan numbers). Here generating function is $C(x)$ such that
$$
C(x) = \frac{1-\sqrt{1-4x}}{2x}.
$$
Let $a(n)$ be an integer sequence with generating function $A(x)$ such ...
1
vote
0
answers
115
views
Coarse well-distributedness/equidistribution of Pell sequence prefixes
I am interested in the distributedness or "mixing" behavior of certain
linear recurrences modulo powers of $2$.
In particular, consider the Pell sequence (https://oeis.org/A000129),
modulo $...
3
votes
1
answer
513
views
What is the connection between these three methods of generating this sequence?
I was recently looking at this problem: “There are a number of balls in a jar, some of them red, some of them white. The odds of picking two at random and both balls being red is 1/2. How many of the ...
6
votes
0
answers
210
views
An inequality involving integer partitions
For integers $n\ge k\ge0$, let $p(n,k)$ denote the number of ways to write $n$ as a sum of $k$ positive integers (repetition allowed). For example, $p(6,3)=3$ since
$$6=1+1+4=1+2+3=2+2+2.$$
QUESTION. ...
4
votes
1
answer
286
views
Do there exist prime numbers of the form $n \cdot 2^n + 1$, when $n \in \mathbb{N}$ and $n > 1$?
Recently, I was studying prime sequences of the form $k \cdot 2^n + 1$, and I noticed that primes of the form $n \cdot 2^n + 1$ almost do not exist, except for the $n = 1$ case.
Are there other prime ...
5
votes
0
answers
210
views
On the polynomials $\sum_{k=0}^n\binom{n+k}k^m q^k$
A sequence of polynomials
$$P_0(q),\ P_1(q),\ P_2(q),\ \ldots$$
with real coefficients is called $q$-log-convex if for each $n=1,2,3,\ldots$ every coefficient of the polynomial $P_{n+1}(q)P_{n-1}(q)-...
2
votes
0
answers
102
views
upper and lower bounds on rowlands sequence
rowlands sequence is defined as follows
\begin{equation}
a_{n}=a_{n-1} + b_{n}
\end{equation}
where $b_{n} = gcd(a_{n-1}, n)$ for $n>h$
it originates from E. Rowlands 2008 paper "A Natural ...
2
votes
0
answers
80
views
Algorithm for main diagonal of integer coefficients associated with Schroeder numbers
Let $T_q(n, k)$ be an integer table such that
$$T_q(n, k) = \begin{cases}
1 & \textrm{if } n = 0 \vee k = 0 \\
qT_q(n-1, n-1) + T_q(n, n-1) & \textrm{if } n = k > 0 \\
T_q(n, k-1) + T_q(n-1,...
1
vote
0
answers
77
views
On the parity of $(2^{\varphi(n)}-1) \bmod{n^2}$
For odd integer $n$ define the function
$$ J(n)=(2^{\varphi(n)}-1) \bmod{n^2}$$
$J(n)$ is integer in $[0,n^2-1]$ and it is divisible by $n$.
Integer $n$ is Wieferich number
iff $J(n)=0$ and if $n$ is ...
5
votes
1
answer
227
views
On vanishing of $p$-adic logarithms
Might be related to Wieferich primes.
Let $p$ be odd prime and define the Fermat quotient
$$F(n)=\frac{(2^{n-1} -1)}{n} \mod n=\frac{(2^{n-1} \bmod n^2 )-1}{n}$$
For integer $b$ let $L_p(b)$ be the $p$...
4
votes
1
answer
334
views
Integer sequences with a periodic pattern
Let $A$ and $B$ be two different integers. Let $S$ be a finite integer sequence with exactly $n_A$ $A$s and $n_B$ $B$s. By repeating $S$ infinitely many times we obtain an infinite integer sequence $P$...
2
votes
1
answer
310
views
Number of distinct higher dimensional integer partitions
By a distinct partition, I mean a partition into distinct parts, i.e., $10 = 5+4+1$ is one, but $10=6+2+2$ is not. The number of distinct partitions of $k$ all whose parts are at most $n$ is given by ...
2
votes
0
answers
42
views
On doubling or addition formulas for the sequence $a(n)=(b_1 n +b_2)a(n-1)+(b_3 n + b_4)a(n-2)$
We are interested which integer sequences are efficiently computable
possibly over finite rings.
Define the integer sequence $a(n)=(b_1 n +b_2)a(n-1)+(b_3 n + b_4)a(n-2)$
with initial terms $a(0),a(1)$...