[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The next exercise
From: |
Emanuel Berg |
Subject: |
Re: The next exercise |
Date: |
Fri, 09 Dec 2022 21:43:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Michael Heerdegen wrote:
> The first three decimal digits (from the left) of 1001^1000
> - i.e. one thousand and one to the one thousand's power,
>
> 1001*1001*...*1001
> \________________/
> ^
> 1000 factors
>
> are of course:
>
> (a) 2 7 1, the first three digits of Euler's number e
I suspect some trap here but okay then, I'll bite
(substring (format "%d" (expt 1001 1000)) 0 3)
which is 271
--
underground experts united
https://dataswamp.org/~incal
- Re: The next exercise, (continued)
- Re: The next exercise, Michael Heerdegen, 2022/12/15
- Re: The next exercise, Michael Heerdegen, 2022/12/15
- Re: The next exercise, Michael Heerdegen, 2022/12/15
- Re: The next exercise, Emanuel Berg, 2022/12/17
- Re: The next exercise, Michael Heerdegen, 2022/12/17
- Re: The next exercise, Emanuel Berg, 2022/12/20
- Re: The next exercise, Andy Moreton, 2022/12/11
- Re: The next exercise, Michael Heerdegen, 2022/12/11
- Re: The next exercise, Emanuel Berg, 2022/12/15
- Re: The next exercise, Emanuel Berg, 2022/12/10
Re: The next exercise,
Emanuel Berg <=