login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A369797 Denominator of the continued fraction 1/(2-3/(3-4/(4-5/(...(n-1)-n/(n+2))))). 2
7, 5, 13, 2, 19, 11, 5, 1, 31, 17, 37, 1, 43, 23, 1, 1, 1, 29, 61, 1, 67, 1, 73, 1, 79, 41, 1, 1, 1, 47, 97, 1, 103, 53, 109, 1, 1, 59, 1, 1, 127, 1, 1, 1, 139, 71, 1, 1, 151, 1, 157, 1, 163, 83, 1, 1, 1, 89, 181, 1, 1, 1, 193, 1, 199, 101, 1, 1, 211 (list; graph; refs; listen; history; text; internal format)
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
LINKS
FORMULA
a(n) = (3n - 2)/gcd(3n - 2, A051403(n-2) + 2*A051403(n-3)).
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
Sequence in context: A141391 A135766 A067745 * A070408 A176672 A107471
KEYWORD
nonn,changed
AUTHOR
Mohammed Bouras, Feb 25 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 1 19:41 EDT 2024. Contains 372176 sequences. (Running on oeis4.)