Primender Sequence: A Novel Mathematical Construct for Testing Symbolic Inference and AI Reasoning
Mohd Anwar Jamal Faiz

TL;DR
This paper introduces the Primender sequence, a new number sequence combining primality and modular digit conditions, and proposes it as a benchmark for testing the symbolic reasoning abilities of large language models through hypothesis validation and sequence generation tasks.
Contribution
It presents the Primender sequence as a novel mathematical construct and develops a framework for evaluating LLMs' symbolic reasoning and hypothesis testing capabilities.
Findings
Models vary in rule inference accuracy
Sequence validation success differs across models
Framework effectively benchmarks LLM reasoning skills
Abstract
This paper introduces the Primender sequence, a novel integer sequence defined by a hybrid rule that combines classical primality with modular digit-based conditions. Specifically, a number n is included in the sequence if it is prime or ends with a prime number of unit digit or any length. In other words, numbers which are primes or have at least one prime suffix. The resulting sequence exhibits a deterministic yet non-trivial structure, blending number-theoretic properties with symbolic patterning. We propose the Primender sequence as a benchmark for evaluating the symbolic reasoning capabilities of Large Language Models (LLMs). The study is motivated by the need for interpretable, rule-based testbeds that can assess an LLM's ability to infer hidden rules, validate mathematical hypotheses, and generalize symbolic logic at scale. A key hypothesis explored is: Whenever a number in the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Machine Learning in Materials Science · Natural Language Processing Techniques
MethodsLLaMA
