User Tools

Site Tools


prelude_to_self-describing_sequence

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
prelude_to_self-describing_sequence [2011/09/20 06:26] jtkorbprelude_to_self-describing_sequence [2011/09/20 06:28] jtkorb
Line 17: Line 17:
 ===== Output ===== ===== Output =====
  
-Print a line of output for each line of input.  The first number on the line is N*(N-1)/2followed by the N*(N-1)/2 input numbers in sorted order, from lowest to highest.+For each non-zero input value''k'', print the value of ''n'' where ''f(n)'' equals ''k''.
  
 ===== Sample Input ===== ===== Sample Input =====
prelude_to_self-describing_sequence.txt · Last modified: 2011/09/20 06:34 by jtkorb