Bill Allombert on Sun, 21 Jan 2024 14:31:42 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: oeis_digits( x, {D=105} )
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: oeis_digits( x, {D=105} )
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Sun, 21 Jan 2024 14:31:37 +0100
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1705843899; c=relaxed/relaxed; bh=oSVQsAMu1ucq469y2Xy3/1IQeqBnkQjFil4iWYKcq4Q=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=XpX1vrJXIJc4zaBuCNm5vP7ZL+nsRCEg5q76eTqe/0HwjkIE12idZZ984tUr84OUSXVFwx7SZ4TzoWOqGDH64TrW+XiVFInSn6UlvAp4w98wE0kV19rJkZ++ZsTN+F30Vzn4Q9EDe5BuKBYNvZeuHB5XYgXEhrzNYRMVsEOKucFBrhFwZK3k8lU6g3nK6ztcsAkpWLDN+1FEnlLK0TW2RAgzuV0cXFzn20GDuMea7cP+lEJc/93QM9VzTsdqFlnPQdfOCbEE1SwoPfWSuOEnnt1NdB6oMAic3BTZkQmlna5bgA+e+NzAJJw9yiozY5bFmapWPENaG/jhUhsYMhalgVT/EvqC9tOhKpTc0E86IlTXzMHn2EaqLAgIDUQ2dZF5P5UuofD4HSxGxfgiRgnrfpLcCWb/aHMey3wg+Ex+xmK15bUMkBWlcc5pRPtBZJopH4FxCG4VdoLQtytI9riG9en/UnErx4yfHB5BIcuCVEMGtygQspFYU1IgYmrY7ZPf3v1vY2OIBggYSjmaIO0j6jh0evYj009KIhoU/AlXG0j7RMOwlcgZRf9ozpuQq86p5EQ8K7VHoYxW/mgJZNL9asq9l9PeWJxqqk8m3l8+Sx8Fqw9fmHUeAjPeevctxywZrWS85/Eot4yX7YeAdiwMErbWuaiZXHz+O4Lx3Xt+bTw=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1705843899; cv=none; b=UHd8PxgUXu4FyGFOgBhGwjJrI+24lRvIdhsqxmEFLzdq8UOGNBcdxrb93eY6NrChDOGRRpVG1bAm6JWGwFzszAkSwaUHX+cY8JLuVCd0gLSp8a6k5JSKUerRFgg36V/CEQGdYRv+ER1Jc3aiLYnldqzqhuwbBwwts4ilunm0ysnHE867H1HDrSvCPk/v1Sk6Ch4Uu7avKq2Da5dNOXqxoleYtnWPFzYV44HXymN67LHg8arPZ7glYrHKRFVim4zpVklMCdsQMd+Til/vojk9FYvKiwMtcDW7AnYID7/jajvyQMgAFoeCHdvg+HQsMkvzAUJcw1/NY3B+EGxM8nRqYOpq63QmOjkR/IwSM8JAtFNrFVclXi+NYqIUf89KAJGc3mDmNrYpSRv2Zc6VyOFdJAU/3/Nx3KmS5okOPNaOsZByhCkoYtrxRVrpj6naHVOKeQpoNCj39x9War7o+oej4qxwMnAAwlSTRQqdjFLjfsZO2qVUND7euVQiEjORfgOGf6qWdS+FZ3NirJgRuIT38t8IMXYyO6xPhvZi2+2iCneJgNSUZtzw1zXytG39CiphDCqtDrcyjQmQkLk7eCqvSjWraAIayTfbvXJBFrR+Bg1WMSR+HoDpckKAZiRiVvYgKoEXUieydEtQv8WcNsGJhvrMRdgVo7wB6Pec3++MNfk=
- Authentication-results: smail; arc=none
- Delivery-date: Sun, 21 Jan 2024 14:31:42 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1705843899; bh=oSVQsAMu1ucq469y2Xy3/1IQeqBnkQjFil4iWYKcq4Q=; h=Date:From:To:Subject:References:In-Reply-To:From; b=UAShJiJP+sppLaAK/lbf9BVzyV4MGijQ8+bi7xWRLQKSylbH+fYfXHQE/Tj52J4RA fSF9hQ6WB/NM4/okgXWGr3jfFv1Pelh/G+fOviobAcpNVVTdFNrhuROijwwwhDKjby y7KNPgl10bw3Btg1oAWfEfl/fygWy3tf69S7+IlYP67bRtFjcMLi65ak4SIM3gCbXa 8LE4r7E0vVU8PKIloeG/ZlJDg9s8Qhb5/WMtnQhFWDAMG1STSq89vcGIGI5a4qv4WR xZYhPoeT1obi7EnX8mf/OvDciq8okjFBgY7/aWnnlDRUx+Ea9wBU1hEJcNcXG8zowf NQBPuzk13hIhK0Y7IQERtiCGh0F1ZUN3TP6xwY1l/QpnBJWD1Q0XZ6xKWvO8hz+DbK PNyk4X92cqjjxUDPqeIbuYmk/hgCxCeXTzy4cZ+ba8s5NLSGNu1MUFUFi8nA4okJDY GzCkyhXSQMHu0sWkPLKKuCj/+LhtwI7EXVcI/CXFXKlkbSaIKy5JfAxFUDaNuHoonE AKec5u1XXnKjimET3xDhoiGTmsSbSt5DexCFG9qIMRR/8zD/a4Oq75qtPUJnTiq4L9 FL1+sy4IZ0ZitQaqgIgeXAKhMszJrM6u86EahB/dWZ9DyqkKIH8nBQXWMeKQDjQ2yl NgGn+yvhjP/MPST9/Hlfqq5I=
- In-reply-to: <60bf1218-fea1-4b9f-9868-bb8aeee7f052@isolution.nl>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <60bf1218-fea1-4b9f-9868-bb8aeee7f052@isolution.nl>
On Sun, Jan 21, 2024 at 01:54:18PM +0100, Ruud H.G. van Tol wrote:
> Also be aware that the used printf-format rounds to the nearest, so without
> proper care the final digits are easily off.
You can increase your luck with this one:
digreal(f,N)=localprec(N+20);digits(floor(f()*10^N));
? digreal(()->log(2),99)
%26 = [6,9,3,1,4,7,1,8,0,5,5,9,9,4,5,3,0,9,4,1,7,2,3,2,1,2,1,4,5,8,1,7,6,5,6,8,0,7,5,5,0,0,1,3,4,3,6,0,2,5,5,2,5,4,1,2,0,6,8,0,0,0,9,4,9,3,3,9,3,6,2,1,9,6,9,6,9,4,7,1,5,6,0,5,8,6,3,3,2,6,9,9,6,4,1,8,6,8,7]
Cheers,
Bill.