Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: How to force integers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg122980] Re: How to force integers
  • From: Heike Gramberg <heike.gramberg at gmail.com>
  • Date: Sat, 19 Nov 2011 06:46:20 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201111181250.HAA07975@smc.vnet.net>

You could try something like this

Simplify@ExpandAll@
  FunctionExpand@
   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}]

Heike.

On 18 Nov 2011, at 13:50, Artur 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: How to force integers
  • Next by Date: Re: Solve equation with summation?
  • Previous by thread: Re: How to force integers
  • Next by thread: Re: How to force integers