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.

A248321 Egyptian fraction representation of sqrt(98) (A010549) using a greedy function.

This page as a plain text file.
%I A248321 #6 Oct 24 2019 23:02:37
%S A248321 9,2,3,16,274,83555,12961139206,198730293272988591339,
%T A248321 183217938497357958578283307441647343725436,
%U A248321 36471466160614116433355003352211955756967345223328177891902116459111899483704330391
%N A248321 Egyptian fraction representation of sqrt(98) (A010549) using a greedy function.
%t A248321 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[ 98]]
%Y A248321 Egyptian fraction representations of the square roots: A006487, A224231, A248235-A248322.
%Y A248321 Egyptian fraction representations of the cube roots: A129702, A132480-A132574.
%K A248321 nonn
%O A248321 0,1
%A A248321 _Robert G. Wilson v_, Oct 05 2014