OFFSET
1,3
COMMENTS
a(n) is also the gcd of every pair of consecutive terms of row n of the Wythoff array. Conjectures: the maximal number of consecutive 1's is 5, and the limiting proportion of 1's exists. See A332938.
If seems that for all primes p > 3, a(1+p) = 1. - Antti Karttunen, Jan 15 2025
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
EXAMPLE
See A332938.
MATHEMATICA
PROG
(PARI) T(n, k) = (n+sqrtint(5*n^2))\2*fibonacci(k+1) + (n-1)*fibonacci(k); \\ A035513
a(n) = gcd(T(n, 0), T(n, 1)); \\ Michel Marcus, Mar 03 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Mar 03 2020
EXTENSIONS
More terms from Antti Karttunen, Jan 15 2025
STATUS
approved