
TL;DR
This paper explores special integers called idempotent cryptarithms, proving their existence and bounds in various bases, and generalizing the concept of numbers whose squares end with the number itself.
Contribution
It introduces a general framework for understanding numbers with specific square-end properties across different bases and prime factor counts.
Findings
For each n ≥ 2, there are 1 or 2 such integers with n digits.
In base B with m prime factors, bounds are 2^{m-1}-1 and 2^m - 2.
Exactly 2^m - 1 solutions for single-digit case.
Abstract
Notice that the square of is which has as its rightmost four digits . To generalize this remarkable fact, we show that, for each integer , there exists at least one and at most two positive integers with exactly -digits in base- (meaning the leftmost or digit from the right is non-zero) such that squaring the integer results in an integer whose rightmost digits form the integer . We then generalize the argument to prove that, in an arbitrary number base with exactly distinct prime factors, an upper bound is and a lower bound is for the number of such -digit positive integers. For , there are exactly solutions, including and excluding .
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
TopicsChaos-based Image/Signal Encryption · Cryptography and Data Security
