Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
104 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 (...
Roland Bacher's user avatar
6 votes
1 answer
315 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 ...
Zerox's user avatar
  • 1,543
10 votes
0 answers
252 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$....
jack's user avatar
  • 3,153
3 votes
1 answer
435 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 ...
Conor Pillay's user avatar
4 votes
1 answer
241 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 ...
Arsen Vardanyan's user avatar
1 vote
0 answers
153 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 ...
Marco Ripà's user avatar
  • 1,451
1 vote
0 answers
82 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 ...
Notamathematician's user avatar
6 votes
0 answers
171 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. ...
Zhi-Wei Sun's user avatar
  • 15.6k
5 votes
1 answer
172 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$...
joro's user avatar
  • 25.4k
6 votes
1 answer
284 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$...
De Costa's user avatar
1 vote
0 answers
84 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 $...
gtm's user avatar
  • 11
2 votes
0 answers
76 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 ...
Antisocialfreal's user avatar
6 votes
2 answers
389 views

Conjectured Somos-like closed form of recurrences with polynomial coefficients

From Our short paper For polynomial $F$ with integer coefficients, define the recurrence $f(n)=F(n,f(n-1),f(n-2),...,f(n-d))$. We conjecture that $f(n)$ satisfy Somos like sequence $f(n)=\frac{G(f(n-1)...
joro's user avatar
  • 25.4k
1 vote
0 answers
60 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 ...
joro's user avatar
  • 25.4k
2 votes
0 answers
62 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,...
Notamathematician's user avatar
12 votes
4 answers
1k views

Six consecutive positive integers with certain shape

Are there 6 consecutive positive integers, where each of them is a square or the product of a prime and a square ? If they exist, one of those six integers A will be the product of 2 and a square of ...
Tong Lingling's user avatar
2 votes
1 answer
216 views

Simplification of the closed form for the A329369

Let $s(n,k)$ be a (signed) Stirling number of the first kind. Let ${n \brace k}$ be a Stirling number of the second kind. Let $$ f(n,m,i) = (-1)^{m-i+1}\sum\limits_{j=i}^{m+1}j^n s(j,i) {m+1 \brace ...
Notamathematician's user avatar
1 vote
0 answers
168 views

Integer coefficients and integrals

Let $a(n,p,q)$ be the family of integer sequences such that exponential generating functions for it satisfy $$ A_1(x)=\exp\left(x + p\int\int (A_1(x))^q \, dx \, dx\right). $$ Let $b(n,p,q)$ be the ...
Notamathematician's user avatar
6 votes
1 answer
367 views

On A057985 and A287066

Let $a(n)$ be A057985 (i.e., start with $0$ and repeatedly substitute: $0 \to 01$, $1 \to 12$, $2 \to 0$). Let $b(n)$ be A287066 (i.e., start with $1$ and repeatedly substitute: $0 \to 01$, $1 \to 12$...
Notamathematician's user avatar
1 vote
0 answers
106 views

Simpler recursion for the A358612

Let $T(n,k)$ be an integer coefficients (A358612) such that $$ T(2n+1, k) = kT(n, k) + T(n, k-1), \\ T(2n, k) = kT(n, k) + T(n, k-1) - \frac{T(2n, k-1) + T(n, k-1)}{k-1}, \\ T(n, 1) = T(0, 2) = 1 $$ ...
Notamathematician's user avatar
1 vote
1 answer
221 views

Correctness of the algorithm for the A329369, A347205 and related sequences

Let $a(n)$ be A347205. It is enough for us to know that $$ a(2^m(2k+1)) = \sum\limits_{j=0}^{m}a(2^jk), \\ a(0) = 1 $$ Let $b(n)$ be A329369. It is enough for us to know that $$ b(2^m(2k+1)) = \sum\...
Notamathematician's user avatar
7 votes
1 answer
527 views

Suitable closed form for the A079501

Let $a(n)$ be A079501 (i.e., number of compositions of the integer $n$ with strictly smallest part in the first position). The sequence begins with $$ 1, 1, 2, 2, 4, 5, 8, 12, 19, 28, 45, 70, 110, ...
Notamathematician's user avatar
6 votes
1 answer
393 views

Test for pair of odd primes $(p, 2p^2-1)$

Let $a(n)$ be A106483 (i.e., primes $p$ such that $2p^2-1$ is also prime). Let $b(n)$ be an integer sequence such that $b(n) = B$ after the whole transformation where we start with $A = n$, $B = 1$, $...
Notamathematician's user avatar
4 votes
1 answer
148 views

Closed form for the A110501 (unsigned Genocchi numbers (of first kind) of even index)

Let $a(n)$ be A110501 (i.e., unsigned Genocchi numbers (of first kind) of even index). Here $$ a(n) = \sum\limits_{i=1}^{\left\lfloor\frac{n}{2}\right\rfloor}\binom{n}{2i}a(n-i)(-1)^{i-1}, \\ a(1) = 1 ...
Notamathematician's user avatar
1 vote
0 answers
133 views

Sequence that sums up to A000153

Let $a(n)$ be A329369 (i.e, number of permutations of ${1,2,...,m}$ with excedance set constructed by taking $m-i$ ($0 < i < m$) if $b(i-1) = 1$ where $b(k)b(k-1)\cdots b(1)b(0)$ ($0 \leqslant k ...
Notamathematician's user avatar
2 votes
2 answers
242 views

Negated Fibonacci and the floor function

Let $F_n$ be A000045 (i.e., Fibonacci numbers). Here $$ F_n = F_{n-1} + F_{n-2}, \\ F_0 = 0, F_1 = 1, \\ F_{-n} = (-1)^{n-1}F_n $$ I conjecture that $$ F_{-n} = \left\lfloor\frac{n+1}{2}\right\rfloor ...
Notamathematician's user avatar
2 votes
0 answers
28 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)$...
joro's user avatar
  • 25.4k
5 votes
0 answers
307 views

On $s$-additive sequences

For a non-negative integer $s$, a strictly increasing sequence of positive integers $\{a_n\}$ is called $s$-additive if for $n>2s$, $a_n$ is the least integer exceeding $a_{n-1}$ which has ...
Sayan Dutta's user avatar
6 votes
0 answers
245 views

Searching for a proof of the pattern and identification of integer coefficients for the A329369

Please see the update given below. Everything you need to know from the old version of the question are the functions $a(n), \ell(n), s(n), t(n), r(n)$. Let $a(n)$ be A329369 (i.e, number of ...
Notamathematician's user avatar
2 votes
1 answer
261 views

Small solutions of $x^2-a^3 y^2=\pm 1$

We are interested in small integer solutions to the Pell equation: $$x^2-a^3 y^2=\pm 1 \qquad (1)$$ Where in $\pm 1$ you can chose either sign. $(x^2,a^3 y^2)$ are consecutive powerful numbers. $abc$ ...
joro's user avatar
  • 25.4k
1 vote
0 answers
115 views

Representing A329369 using A358612

Let $a(n)$ be A329369 (i.e., number of permutations of $\{1,2,\dotsc,m\}$ with excedance set constructed by taking $m-i$ ($0 < i < m$) if $b(i-1) = 1$ where $b(k)b(k-1)\cdots b(1)b(0)$ ($0 \...
Notamathematician's user avatar
26 votes
1 answer
7k views

Elegant recursion for A301897

Let $a(n)$ be A301897, i.e., number of permutations $b$ of length $n$ that satisfy the Diaconis-Graham inequality $I_n(b) + EX_n(b) \leqslant D_n(b)$ with equality. Here $$a(n)=\frac{1}{n+1}\binom{2n}{...
Notamathematician's user avatar
3 votes
0 answers
128 views

Fast and simple algorithm for the A329369

Let $a(n)$ be A329369 (i.e., number of permutations of $\{1,2,\cdots,m\}$ with excedance set constructed by taking $m-i$ ($0 < i < m$) if $b(i-1) = 1$ where $b(k)b(k-1)\cdots b(1)b(0)$ ($0 \...
Notamathematician's user avatar
2 votes
2 answers
197 views

On the primality of $j(n)=\varphi(p_n+1-n)+1$ when $j(n) \equiv 19 \pmod {100}$

Related to Power of primes. Let $p_n$ denote n-th prime and $\varphi$ the totient function. For natural $n$, define $j(n)=\varphi(p_n+1-n)+1$. For $n$ up to $10^9$ if $j(n) \equiv 19 \pmod {100}$ then ...
joro's user avatar
  • 25.4k
2 votes
1 answer
131 views

Sequence that sums up to A224071

Let $a(n)$ be A224071 (i.e., number of Schroeder paths of semilength $n$ in which there are no $(2,0)$-steps at level $1$). Here $$ a(n) = \frac{1}{2(n+1)}\sum\limits_{k=0}^{n}(k+1)((-1)^{\left\...
Notamathematician's user avatar
2 votes
0 answers
157 views

Conjecture: $x^4+1$ is never Wieferich prime

Related to this question and Alexander Kalmynin's answer. For natural $n$ define $J(n)=(2^{n-1}-1) \bmod n^2$ and if $n$ is power of two define $J(2^n)=1$ (this is artificial, just to avoid triviality ...
joro's user avatar
  • 25.4k
0 votes
0 answers
190 views

On a A057985 without recursion

Let $a(n)$ be A057985 (i.e., start with $0$ and repeatedly substitute: $0\to01, 1\to12, 2\to0$). Let $\operatorname{wt}(n)$ be A000120 (i.e., number of ones in the binary expansion of $n$). Here $$ \...
Notamathematician's user avatar
2 votes
1 answer
120 views

Recursion for the Chebyshev transform of $m^n$

Let $$ R(n, q, m) = R(n-1, q+1, m) + \sum\limits_{j=0}^{q} (-1)^{q-j}R(n-1, j, m), \\ R(0, q, m) = (m-1)^q $$ I conjecture that $R(n, 0, m)$ is a Chebyshev transform of $m^n$. Examples of Chebyshev ...
Notamathematician's user avatar
1 vote
1 answer
77 views

Sequence derived from transform of a given vector (with Fibonacci as partial sums)

Let F_n be A000045 (i.e., Fibonacci numbers). Here $$ F_n = F_{n-1} + F_{n-2}, \\ F_0 = 0, F_1 = 1 $$ Let $\operatorname{wt}(n)$ be A000120 (i.e., number of ones in the binary expansion of $n$). ...
Notamathematician's user avatar
13 votes
1 answer
700 views

When is $\mathrm{gcd}(k,p^k-1)=1$ true?

Let $p$ be a prime. Is there a classification of the numbers $k \geq 1$ such that $\gcd(k,p^k-1)=1$? If not, can we at least produce an explicit infinite subset? What is known about these $k$? For the ...
Martin Brandenburg's user avatar
35 votes
8 answers
3k views

Examples of integer sequences coincidences

For the time being, the OEIS website contains almost $300000$ sequences. Each of these sequences is the mark of a specific mathematical concept. Sometimes two (or more) distinct concepts have the ...
4 votes
0 answers
121 views

Do all nonnegative integers appear in A051521?

For every positive integer $n$, $\tau(n)$ is the number of divisors of $n$. If we list the ratio of each positive integer $n$ to $\tau(n)$,they form a rational sequence 1,1,3/2,4/3,5/2,3/2,… Because $\...
Tong Lingling's user avatar
2 votes
0 answers
163 views

Interesting conjecture by Sequence Machine

Let $a(n)$ be A344960 (i.e., position of binary complement of $n$-th word in A341258). By definition, in order to calculate $a(n)$, we need to know A341258. Below we will correspond this sequence with ...
Notamathematician's user avatar
2 votes
0 answers
110 views

bijection from vectors with non-negative integer integer entries to integers

I have the following question. Given a natural number $N$ we construct a set $K$ of vectors of infinite length with non-negative integer entries with a given sum $N$. For example, for $N=3$ the set $K$...
V. Asnin's user avatar
2 votes
1 answer
268 views

A problem similar to the $3x+1$-problem [closed]

Let $n$ be a fixed positive integer. Define the function $f_n(x)$ as follows: $$f_n(x)=\left\{\begin{aligned}&2x-1,\quad x\leq n;\\&2(x-n),\quad x> n.\end{aligned}\right.$$ and for $l\in\...
Ren Guan's user avatar
  • 111
5 votes
0 answers
133 views

Formula and smallest solution for the A260711

Let $a(n)$ be A260711 without initial $0$ (i.e., numbers of the form $x^2 - y^2$ with $x > y$ where $x$ and $y$ are odd, $x + y$ is a power of $2$). The sequence begins with $$ 8, 16, 32, 48, 64, ...
Notamathematician's user avatar
0 votes
0 answers
107 views

Formula for individual term of the Proth numbers

Let $a(n)$ be A080075 i.e. Proth numbers: of the form $k2^m + 1$ for $k$ odd, $m \geqslant 1$ and $2^m > k$. The sequence begins with $$ 3, 5, 9, 13, 17, 25, 33, 41, 49, 57, 65, 81, 97, 113, 129 $$...
Notamathematician's user avatar
1 vote
0 answers
68 views

On a numbers $k$ with specific $2$-adic valuation

Let $a(n)$ be A002326 (i.e., multiplicative order of $2 \operatorname{mod} 2n+1$). Let $b(n)$ be A179382 (i.e., the smallest period of pseudo-arithmetic progression with initial term $1$ and ...
Notamathematician's user avatar
0 votes
0 answers
63 views

Pairs of permutations such that $p(n)<2^k$ iff $n<2^k$

Let $p(n)$ be an arbitrary permutation of natural numbers such that $p(n)<2^k$ iff $n<2^k$. Let $q(n)$ be an inverse permutation of $p(n)$. Let $$ \ell(n)=\left\lfloor\log_2 n\right\rfloor $$ ...
Notamathematician's user avatar
2 votes
0 answers
72 views

Possible subsequence of the A110978

Let $a(n)$ be A110978 i.e. odd integers that are nonprime, such that there exist two factors of each number that when multiplied together in binary base, do not ever require the use of a "carry&...
Notamathematician's user avatar

1
2 3 4 5