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.

A248246 Egyptian fraction representation of sqrt(18) (A010474) using a greedy function.

This page as a plain text file.
%I A248246 #6 Oct 20 2019 12:34:50
%S A248246 4,5,24,1027,3219387,102715635003972,28595657331015533671660837004,
%T A248246 1215572475769570408109978391934299568566509985905302163092,
%U A248246 2006120697781748129559395265597556700767017998650179835542888817906954377068504244660639847221485156172682330027607
%N A248246 Egyptian fraction representation of sqrt(18) (A010474) using a greedy function.
%t A248246 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[ 18]]
%Y A248246 Egyptian fraction representations of the square roots: A006487, A224231, A248235-A248322.
%Y A248246 Egyptian fraction representations of the cube roots: A129702, A132480-A132574.
%K A248246 nonn
%O A248246 0,1
%A A248246 _Robert G. Wilson v_, Oct 04 2014