Skip to content
Agent Orchestration
Agent

fact_odd_sum_main

For every integer $n \ge 1$, the sum of the first $n$ positive odd numbers equals $n^2$; that is, $S(n) = n^2$, where $S(n) = 1 + 3 + 5 + \cdots + (2n-1)$.

From plugin
danus
50720 skills20 agents

Claude Code

$ npx -y skills add frenzymath/Danus --agent claude-code

Agent definition

fact_odd_sum_main.md
fact_id: fact_odd_sum_main
problem_id: odd-sum
author: example-worker
predecessors: [fact_odd_recurrence, fact_square_recurrence]
glossary_introduces: {}
external_refs: [{"key": "Exm20", "authors": ["C. Example"], "title": "Elementary induction, revisited", "venue": "Example Lecture Notes", "year": "2020", "cited_for": "the principle of mathematical induction in the form used here"}]

statement

For every integer $n \ge 1$, the sum of the first $n$ positive odd numbers equals $n^2$; that is, $S(n) = n^2$, where $S(n) = 1 + 3 + 5 + \cdots + (2n-1)$.

proof

We argue by induction on $n$, in the form recalled in \cite{Exm20}.

Base case. For $n = 1$ we have $S(1) = 1 = 1^2$.

Inductive step. Suppose $S(n) = n^2$ for some $n \ge 1$. By the recurrence for the partial sums, $S(n+1) = S(n) + (2n+1)$. Substituting the inductive hypothesis gives $S(n+1) = n^2 + (2n+1)$. By the recurrence for the squares, $n^2 + (2n+1) = (n+1)^2$. Hence $S(n+1) = (n+1)^2$, completing the induction.

intuition

Both $S(n)$ and $n^2$ start at $1$ and grow by the same increment $2n+1$ at each step, so they agree for all $n$. The induction simply records that two sequences with equal initial value and equal one-step increments coincide.

@frenzymath
Ships withdanus

🚀✨ News: This branch is the version that solved YTD. 🎉 Danus orchestrates mathematical reasoning agents with fact-graph memory.

50712 skills20 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
507
Star history of frenzymath/Danus on GitHub, a chart by star-history.com

Other agents on danus.

main_agent

main_agent

Agent

The main agent is a Codex reasoning session running at `ultra` effort. It owns mathematical strategy and swarm coordination, but…

@frenzymath@frenzymathInstall Agent
verifier

verifier

Agent

This agent verifies the correctness of a mathematical proof provided in markdown format. It checks the logical flow, theorem…

@frenzymath@frenzymathInstall Agent
worker

worker

Agent

You are a Danus **worker**: a codex session that solves a research-level math problem by a mathematician-style iterative process,…

@frenzymath@frenzymathInstall Agent
REPORT_WRITER_PROMPT

REPORT_WRITER_PROMPT

Agent

You are the **report writer**. You produce a clean, human-facing mathematical progress report for a working mathematician — the…

@frenzymath@frenzymathInstall Agent
acknowledgement

acknowledgement

Agent

Generic, operator-configurable acknowledgement boilerplate added to a produced paper: an automated-system disclosure (on by…

@frenzymath@frenzymathInstall Agent

More agents from other plugins.

codemod-runner

codemod-runner

Agent

Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css. Use for Phase 2…

paperclip2d114k
@paperclipai@paperclipaiInstall Agent

Questions about fact_odd_sum_main.

Which coding agents can use fact_odd_sum_main?
fact_odd_sum_main installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.