Alessio Rocchi on Fri, 09 Dec 2005 02:46:36 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
 To: <paridev@list.cr.yp.to>
 Subject: Factoring with Pari
 From: "Alessio Rocchi" <alexrocchi@gmail.com>
 Date: Fri, 9 Dec 2005 02:39:32 +0100
 Deliverydate: Fri, 09 Dec 2005 02:46:36 +0100
 Domainkeysignature: a=rsasha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:messageid:from:to:references:subject:date:mimeversion:contenttype:contenttransferencoding:xpriority:xmsmailpriority:xmailer:xmimeole; b=QCfGxFnG9SxHoo6lwoqL2I/VUi74umLT40yHEqtpCOzNR7+WBt4qadnXqx0XHurA0P/2zyjmZ7JSJCQ/PJ3RCogUXLvImorLL06K/BhUtCssFIt0BMmq5s0WPCUryBKsnV5G06FyVDdglJbOqOe6zJ6usXsJNh+VdCtYJ509qfQ=
 Mailinglist: contact paridevhelp@list.cr.yp.to; run by ezmlm
 References: <001701c5fbf7$0d60f8c0$aced6850@casa> <20051208134557.GM21179@seventeen>
After having solved my previous problem (i finally decided to migrate to
linux), i'm here to ask again for help.
The problem is the following: I need to write C code (using Pari, of course)
whose result is that of decompose an integer in its prime factors.
Under GP shell, i can simply write FACTOR(<int>).
I tried to write a C function to do it, but it seems to be really difficult
(i began using Pari only two days ago...).
May anyone help me (also posting an example, if possible)?
Thank you very much.
Alessio Rocchi