OFFSET
0,2
LINKS
Adam Reichert, Table of n, a(n) for n = 0..9999
Yasutoshi Kohmoto, Plot of first 4000 terms
PROG
(Python)
import fractions
import math
def A029580():
A = fractions.Fraction(200013, 100000)
B = 3
p = 2
a = 1
while True:
yield a
a = math.floor(A * a + B)
while a % p == 0:
a //= p
# Adam Reichert, Apr 26 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from James Sellers, Aug 08 2000
STATUS
approved
