Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

I respect faith, but doubt is what gives you an education. -- Wilson Mizner


interests / rec.puzzles / Re: (expt 9.5 400) and (expt 9.4721 400) -- hints ?

SubjectAuthor
* (expt 9.5 400) and (expt 9.4721 400) -- hints ?henh...@gmail.com
`- Re: (expt 9.5 400) and (expt 9.4721 400) -- hints ?Edward Murphy

1
(expt 9.5 400) and (expt 9.4721 400) -- hints ?

<a1904a3f-2e25-4aad-9ffb-634dd01bf37fn@googlegroups.com>

  copy mid

https://www.novabbs.com/interests/article-flat.php?id=162&group=rec.puzzles#162

  copy link   Newsgroups: rec.puzzles
X-Received: by 2002:a05:600c:5124:b0:39c:453f:5e10 with SMTP id o36-20020a05600c512400b0039c453f5e10mr15815749wms.81.1655568554726;
Sat, 18 Jun 2022 09:09:14 -0700 (PDT)
X-Received: by 2002:a05:6214:27e5:b0:46b:9ccf:27ee with SMTP id
jt5-20020a05621427e500b0046b9ccf27eemr13006193qvb.111.1655568553931; Sat, 18
Jun 2022 09:09:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!news2.arglkargh.de!news.karotte.org!news.bawue.net!npeer.as286.net!npeer-ng0.as286.net!feeder1-1.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: rec.puzzles
Date: Sat, 18 Jun 2022 09:09:13 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:648:8600:d320:0:0:0:4941;
posting-account=YjTkGAoAAAA4_fbAISfvtIqrYbghMeBx
NNTP-Posting-Host: 2601:648:8600:d320:0:0:0:4941
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a1904a3f-2e25-4aad-9ffb-634dd01bf37fn@googlegroups.com>
Subject: (expt 9.5 400) and (expt 9.4721 400) -- hints ?
From: henha...@gmail.com (henh...@gmail.com)
Injection-Date: Sat, 18 Jun 2022 16:09:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: henh...@gmail.com - Sat, 18 Jun 2022 16:09 UTC

here using Gauche implementation of Scheme (Lisp)
_________________________

gosh> (expt 2 10)
1024

gosh> (expt 95 400)
122868941115179737710771763422406480301757540139859458808109124467070985446636432601124226198138372384827136835747639824957217872566284270584970573806709719276387720717338491937768940125341858818232921546470367105745159050900738732857641177973934199359975283304040662214527892754581251472028550573377465974149524776907053647487276218630915991403393175918807721542352052061931828388937244412868178358157101355186823815679746336760233122803664930597166935876581382936048661922495177503814998271180126016615741029048421718399550885061036453398850989384221230496760667725343755621356110646439201800024101683783925799569271375473948166129904365762856539506504738909912793972528107696543949955683957699890196644331714953888959611025828637994242150674323852711788962466243901872076094150543212890625

gosh> (expt 9.5 300) --> 2.075303347768084e293

gosh> (expt 9.5 400) --> +inf.0

SO... With ( 9.5 ^ 400) i can get the exact value, but what i want to do is to get an approx. value of

( A ^ 400 ) where

A is 9.47213595499958
or
A is (+ 5 (* 2 (sqrt 5)))

---------------- is there an easy way to do this?

(expt 947213595499958 400) gives me an approx value,
but i guess i'm asking for 1000 (or million) times as many digits.

so it seems far beyond what my cheap PC can do.

Re: (expt 9.5 400) and (expt 9.4721 400) -- hints ?

<t8oa2m$v8k$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/interests/article-flat.php?id=181&group=rec.puzzles#181

  copy link   Newsgroups: rec.puzzles
Path: i2pn2.org!i2pn.org!aioe.org!SABVAYcHOklaNK/u1FQzwA.user.46.165.242.75.POSTED!not-for-mail
From: emurph...@zoho.com (Edward Murphy)
Newsgroups: rec.puzzles
Subject: Re: (expt 9.5 400) and (expt 9.4721 400) -- hints ?
Date: Sun, 19 Jun 2022 16:04:48 -0700
Organization: Aioe.org NNTP Server
Message-ID: <t8oa2m$v8k$1@gioia.aioe.org>
References: <a1904a3f-2e25-4aad-9ffb-634dd01bf37fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="32020"; posting-host="SABVAYcHOklaNK/u1FQzwA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Edward Murphy - Sun, 19 Jun 2022 23:04 UTC

On 6/18/2022 9:09 AM, henh...@gmail.com wrote:

> get an approx. value of
>
> ( A ^ 400 ) where
>
> A is 9.47213595499958
> or
> A is (+ 5 (* 2 (sqrt 5)))
>
>
> ---------------- is there an easy way to do this?
>
>
> (expt 947213595499958 400) gives me an approx value,
> but i guess i'm asking for 1000 (or million) times as many digits.
>
> so it seems far beyond what my cheap PC can do.

A = 2s+5 (where s = sqrt(5)), so:

1) Compute the binomial expansion of (2s+5)^400.

2) Use s^2 = 5 to reduce it to x + ys (where x and y are integers).

3) Compute s to at least the desired number of digits, plus about
log10(x) or log10(y) more digits (whichever is larger).

4) Use simple arithmetic on 3) to derive an approximation of
(2s+5)^400 to at least the desired number of digits.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor