My Math Forum Serial position of a composite number

 Number Theory Number Theory Math Forum

 July 11th, 2009, 02:56 AM #1 Newbie   Joined: Apr 2009 Posts: 5 Thanks: 0 Serial position of a composite number I need a software/web based utility that would provide the serial position of a composite number among the composite numbers. For example, providing it with 27 it would return 17.
 July 11th, 2009, 04:57 AM #2 Global Moderator     Joined: Nov 2006 From: UTC -5 Posts: 16,046 Thanks: 937 Math Focus: Number theory, computational mathematics, combinatorics, FOM, symbolic logic, TCS, algorithms Re: Serial position of a composite number 1. Download Pari/gp (link in my sig; use the windows installer if you're on windows!) 2. Type or paste in the following program: Code: position(n)=n-primepi(n)-1 3. Find the position of any composite by typing, e.g., position(27).

 Tags composite, number, position, serial

### 11th composite number

Click on a term to search for related topics.
 Thread Tools Display Modes Linear Mode

 Similar Threads Thread Thread Starter Forum Replies Last Post agustin975 Number Theory 8 March 8th, 2013 09:04 AM ershi Number Theory 113 August 18th, 2012 04:45 AM dendricala Real Analysis 9 May 12th, 2011 10:58 AM ShellShock Economics 0 December 12th, 2010 03:16 AM Geir Number Theory 1 April 9th, 2009 04:34 AM

 Contact - Home - Forums - Cryptocurrency Forum - Top