[go: up one dir, main page]

login
Revision History for A248250 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Egyptian fraction representation of sqrt(22) (A010478) using a greedy function.
(history; published version)
#6 by Jon E. Schoenfield at Sun Oct 20 20:23:37 EDT 2019
STATUS

editing

approved

#5 by Jon E. Schoenfield at Sun Oct 20 20:23:34 EDT 2019
NAME

Egyptian fraction representation of the sqrt(22) (A010478) using a greedy function.

MATHEMATICA

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[ 22]]

CROSSREFS

Cf. Egyptian fraction rep. for representations of the Sqrtssquare roots: A006487, A224231, A248235-A248322,.

Cf. Egyptian fraction rep. for representations of the Cbrtscube roots: A129702, A132480 - A132574.

STATUS

approved

editing

#4 by N. J. A. Sloane at Mon Oct 06 18:11:46 EDT 2014
STATUS

proposed

approved

#3 by Robert G. Wilson v at Sun Oct 05 00:13:05 EDT 2014
STATUS

editing

proposed

#2 by Robert G. Wilson v at Sat Oct 04 20:52:16 EDT 2014
NAME

allocated for Robert G Egyptian fraction representation of the sqrt(22) (A010478) using a greedy function. Wilson v

DATA

4, 2, 6, 43, 2028, 5477762, 40063230724280, 10039617492048087897098971783, 598943577818423089223821862011302605314284839297545338532, 451273778419286656581820003198742640276389207705020449590295850757882195737121214614786626350432663721793231915121

OFFSET

0,1

MATHEMATICA

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[ 22]]

CROSSREFS

Cf. Egyptian fraction rep. for the Sqrts: A006487, A224231, A248235-A248322,

Cf. Egyptian fraction rep. for the Cbrts: A129702, A132480 - A132574.

KEYWORD

allocated

nonn

AUTHOR

Robert G. Wilson v, Oct 04 2014

STATUS

approved

editing

#1 by Robert G. Wilson v at Sat Oct 04 13:52:09 EDT 2014
NAME

allocated for Robert G. Wilson v

KEYWORD

allocated

STATUS

approved