cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A248296 Egyptian fraction representation of sqrt(72) (A010524) using a greedy function.

This page as a plain text file.
%I A248296 #6 Oct 24 2019 22:53:28
%S A248296 8,3,7,111,12212,421899134,214366287730447196,
%T A248296 74154301233407587376512952938963737,
%U A248296 22082353211860579770417392785370193807657413641357962334630621172698141
%N A248296 Egyptian fraction representation of sqrt(72) (A010524) using a greedy function.
%t A248296 Egyptian[nbr_] := Block[{lst = {IntegerPart[nbr]}, cons = N[ FractionalPart[ nbr], 2^20], denom, iter = 8}, While[ iter > 0, denom = Ceiling[ 1/cons]; AppendTo[ lst, denom]; cons -= 1/denom; iter--]; lst]; Egyptian[ Sqrt[ 72]]
%Y A248296 Egyptian fraction representations of the square roots: A006487, A224231, A248235-A248322.
%Y A248296 Egyptian fraction representations of the cube roots: A129702, A132480-A132574.
%K A248296 nonn
%O A248296 0,1
%A A248296 _Robert G. Wilson v_, Oct 04 2014