Math::N...digitAny(3)
π Math::N...digitAny(3) π
okay bestie, so this is a page from the User Contributed Perl Documentation, and it's literally called Math::N...digitAny(3) β yes the name got truncated, it's giving mysterious, but we move. grab a snack, we're learning about repdigits π
β¨ NAME β¨
Math::NumSeq::RepdigitAny β numbers which are a repdigit in any radix
π¦ SYNOPSIS π¦
use Math::NumSeq::RepdigitAny;
my $seq = Math::NumSeq::RepdigitAny->new;
my ($i, $value) = $seq->next;
πΈ DESCRIPTION πΈ
so the numbers are 0, 7, 13, 15, 21, 26, 31, etc β and what makes them special is that each one is a repdigit of 3 or more digits in any radix. periodt.
like, for example:
7is111base 226is222base 331is11111base 2
etc etc. the way it works is that this is effectively the union of the Repdigits sequence for all radices π so instead of checking one radix at a time, you get every number that slays as a repdigit somewhere. iconic behavior honestly.
π FUNCTIONS π
see "FUNCTIONS" in Math::NumSeq for behaviour common to all sequence classes β those are the shared vibes every sequence class has. no cap.
$seq = Math::NumSeq::RepdigitAny->new ()β create and return a new sequence object. main character energy, brand new, ready to go β¨$bool = $seq->pred($value)β return true if$valueis a repdigit of 3 or more digits in some radix. that's the whole vibe check right there π«Ά
π₯ SEE ALSO π₯
Math::NumSeqMath::NumSeq::Repdigits
π HOME PAGE π
<http://user42.tuxfamily.org/math-numseq/index.html>
π LICENSE π
Copyright 2010, 2011, 2012, 2013, 2014, 2016, 2019, 2020 Kevin Ryde
Math-NumSeq is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
Math-NumSeq is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Math-NumSeq. If not, see <http://www.gnu.org/licenses/>.
fr fr, that warranty disclaimer is not a joke β it's genuinely saying there's no warranty, so don't come for anyone if it breaks π
and that's the page bestie π§ this was perl v5.42.0, dated 2025-07-25, filed under Math::N...digitAny(3) β the truncated little legend. slay, go forth and find ur repdigits πβ¨π
π¦ where this page comes from
- fedora 43: perl-Math-NumSeq 75-11.fc43 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms