roles) || in_array('administrator', $user->roles) || in_array('admin',$user->roles ) ) { ?>
probname); ?>
Topic Classification: nid, "Topic Classification"); ?> Tags: nid, "Problem Tag");?>
Topics: nid, "Topics"); ?> Prerequisites: nid, "Prerequisites"); ?>
Supplies: nid, "Supplies"); ?> Pedagogy: nid, "Pedagogy"); ?>

1-2
3-4
5-6
7-8
9-10
11-12
13-14
Solution: nid, "Solution"); ?>
Problem

Consider all $2^n - 1$ nonempty subsets of the set $\{1, 2, \ldots, n\}$.
For every such subset, we find the product of the reciprocals of each
of its elements. Find the sum of all these products. (For example,
if the set consists of $\{1, 2, 3\}$, the subsets are $\{1\}$,
$\{2\}$, $\{3\}$, $\{1,2\}$, $\{1,3\}$, $\{2,3\}$, and $\{1,2,3\}$.
The products of the reciprocals are 1, 1/2, 1/3, 1/2, 1/3, 1/6, and
1/6, respectively. The sum of all of them is 3.

Details
Contributer: TRD
Authors
nid); while ($data = db_fetch_object($authorresult)) { $authorfirstname =$data->firstname; $authorlastname =$data->lastname; $authors =$authorfirstname . ' ' . $authorlastname; print$authors; ?>
References
nid); if (mysql_num_rows($refresult) > 0 ) { ?> nmcreferenceid;$referenceauthor = $data->author;$referencetitle = $data->title;$referenceurl = $data->url; ?> 0 ) { print '  Reference Author Reference Title Reference URL '; } ?> nid);$totalSets = mysql_num_rows($setsResult); if ($totalSets > 0) { ?>
Problem Sets This Problem Belongs to:
parent_nid; ?> Set:
VARIABLES
nid, 1); while ($data = db_fetch_object($variablesresult)) { $variable =$data->elementdata; ?> •

DEFINITIONS
nid); while ($data = db_fetch_object($defresult)) { $definitionid =$data->nmcdefinitionid; $definition =$data->definition; $definitionname =$data->definitionname; ?> •