OFFSET
3,1
COMMENTS
Conjecture: The sequence contains only 1's and the primes.
Conjecture: The sequence of record values is A002476. - Bill McEachen, Mar 24 2024
a(n) = 1 positions appear to correspond to A334919(m) - 1, m > 2. - Bill McEachen, Aug 05 2024
LINKS
Mohammed Bouras, The Distribution Of Prime Numbers And Continued Fractions, (ppt) (2022)
EXAMPLE
For n=3, 1/(2 - 3/(3 + 2)) = 5/7, so a(3)=7.
For n=4, 1/(2 - 3/(3 - 4/(4 + 2))) = 7/5, so a(4)=5.
For n=5, 1/(2 - 3/(3 - 4/(4 - 5/(5 + 2)))) = 41/13, so a(5)=13.
PROG
(Python)
from math import gcd, factorial
def A369797(n): return (a:=3*n-2)//gcd(a, a*sum(factorial(k) for k in range(n-2))+n*factorial(n-2)>>1) # Chai Wah Wu, Feb 26 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Mohammed Bouras, Feb 25 2024
STATUS
approved