HCF & LCM

Community

Master HCF & LCM with practice quizzes.

Authorsudarshansudarshan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a self-contained quiz generator and answer checker to help secondary-level students learn and practice Highest Common Factor (HCF) and Lowest Common Multiple (LCM) concepts, including multi-number LCMs and scheduling word problems.

Core Features & Use Cases

  • Question Generation by Difficulty: Generates easy (HCF of two), medium (LCM of two), hard (LCM of three), and extrahard (scheduling/word) questions.
  • Deterministic Math Logic: Uses Euclidean algorithm for gcd and lcm(a,b)=|a*b|/gcd(a,b) with controlled random ranges to avoid large results.
  • API-Based Integration & Adaptive Scoring: Exposes GET /hcflcm-api/question and POST /hcflcm-api/check, enforces integer answers, and supports float-based adaptive scoring for practice progression.

Quick Start

Generate a medium-difficulty LCM question for two numbers and return the integer answer and display text.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: HCF & LCM
Download link: https://github.com/sudarshansudarshan/tenali/archive/main.zip#hcf-lcm

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.