We prove that, for any real numbers ξ ≠ 0 and ν, the sequence of integer parts [ξ2n + ν], n = 0, 1, 2, . . . , contains infinitely many composite numbers. Moreover, if the number ξ is irrational, then the above sequence contains infinitely many elements divisible by 2 or 3. The same holds for the sequence [ξ( − 2)n + νn], n = 0, 1, 2, . . . , where ν0, ν1, ν2, . . . all lie in a half open real interval of length 1/3. For this, we show that if a sequence of integers x1, x2, x3, . . . satisfies the recurrence relation xn+d = cxn + F(xn+1, . . . , xn+d-1) for each n ≥ 1, where c ≠ 0 is an integer, \({F(z_1,\dots,z_{d-1}) \in \mathbb {Z}[z_1,\dots,z_{d-1}],}\) and limn→ ∞|xn| = ∞, then the number |xn| is composite for infinitely many positive integers n. The proofs involve techniques from number theory, linear algebra, combinatorics on words and some kind of symbolic computation modulo 3.
Read full abstract