1Math::NumSeq::RadixWithUosuetrDiCgointt(r3i)buted Perl DMoactuhm:e:nNtuamtSieoqn::RadixWithoutDigit(3)
2
3
4
6 Math::NumSeq::RadixWithoutDigit -- integers without a given digit
7
9 use Math::NumSeq::RadixWithoutDigit;
10 my $seq = Math::NumSeq::RadixWithoutDigit->new;
11 my ($i, $value) = $seq->next;
12
14 The integers without a given digit, for example decimal without 9s is 0
15 to 8, 10 to 18, 20 to 28, ... 80 to 88, 100, etc.
16
18 See "FUNCTIONS" in Math::NumSeq for behaviour common to all sequence
19 classes.
20
21 "$seq = Math::NumSeq::RadixWithoutDigit->new (radix => $r, digit =>
22 $d)"
23 Create and return a new sequence object.
24
25 Random Access
26 "$value = $seq->ith($i)"
27 Return the $i'th number which doesn't have the digit.
28
29 "$bool = $seq->pred($value)"
30 Return true if $value doesn't have the given "digit".
31
33 Math::NumSeq
34
36 <http://user42.tuxfamily.org/math-numseq/index.html>
37
39 Copyright 2010, 2011, 2012, 2013, 2014, 2016, 2019, 2020 Kevin Ryde
40
41 Math-NumSeq is free software; you can redistribute it and/or modify it
42 under the terms of the GNU General Public License as published by the
43 Free Software Foundation; either version 3, or (at your option) any
44 later version.
45
46 Math-NumSeq is distributed in the hope that it will be useful, but
47 WITHOUT ANY WARRANTY; without even the implied warranty of
48 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
49 General Public License for more details.
50
51 You should have received a copy of the GNU General Public License along
52 with Math-NumSeq. If not, see <http://www.gnu.org/licenses/>.
53
54
55
56perl v5.38.0 2023-07-20Math::NumSeq::RadixWithoutDigit(3)