MathGroup Archive 2008

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

Search the Archive

Re: Base function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88161] Re: Base function
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Sat, 26 Apr 2008 06:30:55 -0400 (EDT)
  • Organization: University of Bergen
  • References: <fuumbc$88b$1@smc.vnet.net>

haitomi wrote:
> Dear All,
> 
> 
> 
> ((1*12 + 4)*11 + 4)*10 + 4
> 
> 1804
> 
> I need help with a function find the Calander "base"
> 
> Cbase[1804,{12,11,10}]
> 
> out put will be
> {1,4,4,4}

I don't understand the question.  Why shouldn't it return e.g. {1, 3, 
15, 4} ?  After all, ((1*12 + 3)*11 + 15)*10 + 4 == 1804

Szabolcs


  • Prev by Date: Re: Print[Plot] vs Print[text,Plot]? (*now Do and Table*)
  • Next by Date: Re: Print[Plot] vs Print[text,Plot]? (*now Do and Table*)
  • Previous by thread: Re: Base function
  • Next by thread: Re: Base function