Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6534 > unrolled thread

Re: How to force integers

Started byHeike Gramberg <heike.gramberg@gmail.com>
First post2011-11-19 11:51 +0000
Last post2011-11-19 11:51 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to force integers Heike Gramberg <heike.gramberg@gmail.com> - 2011-11-19 11:51 +0000

#6534 — Re: How to force integers

FromHeike Gramberg <heike.gramberg@gmail.com>
Date2011-11-19 11:51 +0000
SubjectRe: How to force integers
Message-ID<ja858p$ij3$1@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.
> 

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web