![]() |
|
|
#1695 |
|
Aug 2006
3·1,993 Posts |
|
|
|
|
|
|
#1696 |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
|
|
|
|
|
|
#1697 |
|
May 2010
Prime hunting commission.
69016 Posts |
I did some reading on some of the highly composite numbers; Is there any way in which one could compute a specific one, without checking every integer smaller than it?
Ex: I wanted to compute the 100th term in the sequence. Any way to do that without checking every integer before it? Last fiddled with by 3.14159 on 2010-11-26 at 03:30 |
|
|
|
|
|
#1698 |
|
Aug 2006
3·1,993 Posts |
|
|
|
|
|
|
#1699 | |
|
Aug 2006
135338 Posts |
Quote:
|
|
|
|
|
|
|
#1700 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
9,497 Posts |
I am stumped. Must be something really trivial:
Code:
gp > polcyclo(15,10)
*** variable name expected: polcyclo(15,10)
^---
gp > p=polcyclo(15)
%1 = x^8 - x^7 + x^5 - x^4 + x^3 - x + 1
gp > p(10)
*** unused characters: p(10)
^----
|
|
|
|
|
|
#1701 | |
|
May 2010
Prime hunting commission.
24·3·5·7 Posts |
Quote:
I get a return of 90090991. |
|
|
|
|
|
|
#1702 |
|
May 2010
Prime hunting commission.
110100100002 Posts |
|
|
|
|
|
|
#1703 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
|
|
|
|
|
|
#1704 | |
|
Aug 2006
135338 Posts |
Quote:
Code:
p=n->polcyclo(15,n); p(15) |
|
|
|
|
|
|
#1705 | |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
9,497 Posts |
Quote:
(and yes, subst() works, too, but I was looking for a hint to best practices) |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why do I sometimes see all the <> formatting commands when I quote or edit? | cheesehead | Forum Feedback | 3 | 2013-05-25 12:56 |
| Passing commands to PARI on Windows | James Heinrich | Software | 2 | 2012-05-13 19:19 |
| Ubiquity commands | Mini-Geek | Aliquot Sequences | 1 | 2009-09-22 19:33 |
| 64-bit Pari? | CRGreathouse | Software | 2 | 2009-03-13 04:22 |
| Are these commands correct? | jasong | Linux | 2 | 2007-10-18 23:40 |