Ask Your Question

Manoj's profile - activity

2019-09-05 17:23:38 +0200 received badge  Famous Question (source)
2019-02-18 15:49:29 +0200 received badge  Popular Question (source)
2019-02-18 15:49:29 +0200 received badge  Notable Question (source)
2017-09-17 21:37:07 +0200 commented answer Sage Range function

Thanks....

2017-09-17 21:17:33 +0200 received badge  Student (source)
2017-09-17 20:28:54 +0200 commented question Sage Range function

I knew that. I was wondering if same can be done with [1..10]?

2017-09-17 19:49:48 +0200 asked a question Sage Range function

I use sage range function to print numbers form 1 to say 10 using print [1..10]. How to print only even numbers using this?

2017-07-07 23:00:37 +0200 received badge  Scholar (source)
2017-07-07 22:17:48 +0200 commented answer Product of primes not dividing $N$ in SAGE.

Thank you ver much.

2017-07-07 01:45:02 +0200 asked a question Product of primes not dividing $N$ in SAGE.

Hi, for a given $N,$ I want to compute a product of the type in SageMath

$$ \prod_{p\nmid N} \left(1-\frac{1}{p}\right)\left(1+\frac{1}{p}^{-1}\right) $$

For this I need to generate a list of these primes which does not divide $N.$ I do not know any method or command which does that. How can I compute this in sage? Thanks in advance.