MathGroup Archive 2008

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

Search the Archive

Re: Base function


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