[go: up one dir, main page]

login
A083659
Denominator of fraction equal to the continued fraction [p(n); p(n-1),...,5,3,2].
3
1, 2, 7, 37, 266, 2963, 38785, 662308, 12622637, 290982959, 8451128448, 262275964847, 9712661827787, 398481410904114, 17144413330704689, 806185907954024497, 42744997534894003030, 2522761040466700203267, 153931168466003606402317, 10315911048262708329158506
OFFSET
1,2
LINKS
EXAMPLE
The 5th term is 266 because 11+1/(7+1/(5+1/(3+1/2))) = 2963/266.
MAPLE
b:= proc(n) option remember;
`if`(n=1, 0, 1/b(n-1)) + ithprime(n)
end:
a:= n-> denom(b(n)):
seq(a(n), n=1..20); # Alois P. Heinz, Nov 03 2018
MATHEMATICA
Table[Denominator[FromContinuedFraction[Prime[Range[n, 1, -1]]]], {n, 1, 20}]
CROSSREFS
Sequence in context: A001515 A144301 A036247 * A107877 A001028 A116481
KEYWORD
easy,frac,nonn
AUTHOR
EXTENSIONS
One term corrected and extended by Alois P. Heinz, Nov 03 2018
STATUS
approved