Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: number of digits in n^p

  • To: mathgroup at smc.vnet.net
  • Subject: [mg60461] Re: [mg60415] number of digits in n^p
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 16 Sep 2005 05:36:39 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Ceiling[p*Log[10,n]]

Ceiling[(p*Log[n])/Log[10]]

89*Log[10,67]//Ceiling

163


Bob Hanlon

> 
> From: George <orangepi77 at yahoo.com>
To: mathgroup at smc.vnet.net
> Date: 2005/09/16 Fri AM 03:48:55 EDT
> Subject: [mg60461] [mg60415] number of digits in n^p
> 
> 
> i wonder if there is a formula, a function, or a method in mathematica to 
know the number of digits in  n raised to the power of p without calculating 
the result, such as 67^89 will give us a number with 163 digits in it, is there a 
way to know this result without actually calculating 67^89
> thanks
> George
>  
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 


  • Prev by Date: FFT Poisson Solver?
  • Next by Date: Re: Re: solve for a squared variable
  • Previous by thread: number of digits in n^p
  • Next by thread: Re: number of digits in n^p