OFFSET
1,2
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A319561
EXAMPLE
The first terms, alongside f(n) and gcd(f(n), f(n+1)), are:
n a(n) f(n) gcd(f(n), f(n+1))
-- ---- ---- -----------------
1 1 1 1
2 2 1 + i 1 + i
3 4 2 2
4 8 2 + 2*i 1 + i
5 10 3 + i 1 + 2*i
6 5 1 + 2*i 1 + 2*i
7 20 2 + 4*i 1 + i
8 10 1 + 3*i 2 + i
9 5 2 + i 2 + i
10 20 4 + 2*i 2
11 16 4 1 + i
12 18 3 + 3*i 3
13 9 3 3
14 36 6 1 + i
15 26 5 + i 2 + 3*i
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Sep 23 2018
STATUS
approved