MathGroup Archive 2011

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

Search the Archive

Re: How to force integers


data = Table[(7/
       10 - (6/5)*(-1)^
        n*(1/2)*(f^(15*(2 n - 1)) - (1/f)^(15 (2 n - 1))) + (1/
         20)*(f^(30 (2 n - 1)) + (1/f)^(30 (2 n - 1)))) /.
    f -> GoldenRatio, {n, 1, 10}];

data // FunctionExpand // ExpandAll // Simplify


Bob Hanlon


On Fri, Nov 18, 2011 at 7:50 AM, Artur <grafix at csl.pl> wrote:
> Table[(7/10 - (6/5)*(-1)^
>       n*(1/2)*(f^(15*(2 n - 1)) - (1/f)^(15 (2 n - 1))) + (1/
>        20)*(f^(30 (2 n - 1)) + (1/f)^(30 (2 n - 1)))) /.
>   f -> GoldenRatio, {n, 1, 10}]
>
> Is possible to force integers without use Round or Floor of numeric values?
>
> Best wishes
> Artur
> P.S. If you have any idea please together to group send also copy to me
> privately because I have daily import of mesages from mathgroup.
>



  • Prev by Date: Re: x and y plot finding maximum
  • Next by Date: Re: How to force integers
  • Previous by thread: How to force integers
  • Next by thread: Re: How to force integers