cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-5 of 5 results.

A086083 Primitive members of A084687. That is, members which cannot be generated by inserting digits into previous members in recognized patterns.

Original entry on oeis.org

9513, 81816, 94143, 888216, 2491578, 49827156, 87127446, 617283945, 864197523, 987654312, 8564198223
Offset: 1

Views

Author

Chuck Seggelin, Jul 11 2003

Keywords

Comments

Based on the first 2591 terms of A084687.

Examples

			a(3) = 94143 because 94143 cannot be generated by inserting digits into any previous term. A084687's a(17) (246913578) is excluded because it can be generated from a(5) (2491578) by inserting a 6 in the third position from the left and inserting a 3 in the fourth position from the right.
		

Crossrefs

Cf. A084687.

Extensions

Edited by Charles R Greathouse IV, Aug 03 2010

A090055 Numbers n divisible by at least one nontrivial permutation (rearrangement) of the digits of n.

Original entry on oeis.org

105, 108, 405, 510, 540, 702, 703, 810, 1001, 1005, 1008, 1020, 1050, 1053, 1080, 2002, 2016, 2025, 2040, 2050, 2079, 2100, 2106, 3003, 3024, 3042, 3045, 3060, 3105, 3402, 3510, 4004, 4005, 4050, 4070, 4080, 4200, 5005, 5010, 5040
Offset: 1

Views

Author

Chuck Seggelin, Nov 21 2003

Keywords

Comments

Trivial permutations are identified as (1) permutation = n, or (2) when n mod 10=0, permutations of n's digits which result in shifting only trailing zeros to the most significant side of n where they drop off, such that permutation = n/10^z, where z <= the number of trailing zeros of n. So if n were 1809000, the following permutations would be excluded as trivial: 1809000, 0180900, 0018090, 0001809.
A031877 (numbers which are multiples of their reversals) and both A084687 and A090053 (numbers divided by number formed by sorting their digits), are subsets of this sequence. This sequence differentiates itself by including terms such as 7425 which is divided by 2475 (a rearrangement of 7425's digits that is neither a reversal or an ascending sort.)

Examples

			a(27)=3045 because 3045 is divisible by 435, a nontrivial permutation of 3045. (0435)
		

Crossrefs

A090056 Numbers k divisible by at least one nontrivial permutation (rearrangement) of the digits of k, excluding all permutations that result in digit loss.

Original entry on oeis.org

3105, 7128, 7425, 8316, 8712, 9513, 9801, 30105, 31050, 37125, 42741, 44172, 67128, 70416, 71208, 71253, 71280, 71328, 71928, 72108, 72441, 74142, 74250, 74628, 74925, 78912, 79128, 80712, 81816, 82755, 83160, 83181, 83916, 84510, 85725, 86712, 87120, 87132, 87192, 87912
Offset: 1

Views

Author

Chuck Seggelin, Nov 21 2003

Keywords

Comments

Trivial permutations are identified as those where the permutation = k itself. Digit loss occurs when a permutation has 0 in the most significant position, which drops off, leaving a number with fewer digits. For example, when k is 3105, the permutation 0315 is excluded because 315 has fewer digits than 3105. These exclusions make this sequence a subsequence of A090055. A084687 is a subsequence of this sequence.
Apparently each term of this sequence is divisible by 3. This has been confirmed for the first 100 terms.
From David A. Corneth, Jun 08 2025: (Start)
All terms are divisible by 3. Proof: Suppose a term t is not divisible by 3.
Then for some m < t that is an anagram of t with the same number of digits as t we have m * c = t where 2 <= c <= 9. If c > 9 then t has more digits than m and if c = 1 then m is a trivial anagram of t, excluded by definition.
Since m and t are anagrams, 9 | (t - m) = (c - 1)*m. If t is not divisible by 3 then m is not divisible by 3 and so 9 | c - 1. This is a contradiction since 2 <= c <= 9 for which no c is divisible by 9 which completes the proof.
In addition if t is not divisible by 9 then c = 4 or 7. (End)

Examples

			a(1)=3105 because 3105 is divisible by 1035, a nontrivial permutation of 3105 with the same number of digits.
a(4)=8316 because 8316 is divisible by 1386, a nontrivial permutation of 8316 with the same number of digits.
		

Crossrefs

Programs

  • Mathematica
    dnpQ[n_]:=Module[{d=FromDigits/@Select[Permutations[IntegerDigits[n]], First[#]>0&&Reverse[#]!=#&]},Count[Divisible[n,d],True]>1]; Select[ Range[90000],dnpQ] (* Harvey P. Dale, Aug 19 2013 *)
  • PARI
    \\ See Corneth link

Extensions

More terms from David A. Corneth, Jun 08 2025

A090053 Numbers divisible by the number formed when their digits are sorted in ascending order, excluding trivial cases.

Original entry on oeis.org

105, 108, 405, 510, 540, 702, 703, 810, 1001, 1005, 1008, 1020, 1050, 1080, 2002, 2016, 2025, 2040, 2050, 2100, 3003, 3042, 3060, 3105, 3510, 4004, 4005, 4050, 4080, 4200, 5005, 5010, 5040, 5049, 5100, 5130, 5200, 5400, 6006, 6084
Offset: 1

Views

Author

Chuck Seggelin, Nov 21 2003

Keywords

Comments

Trivial cases are identified as (1) values of k where the digits are already in ascending order, like 123 or 2228, such that ASort(k)=k, or (2) values of k where k mod 10 = 0 and all digits other than trailing zeros are in ascending order, like 12000 or 333500, such that ASort(k)=k/10^z, where z = the number of trailing zeros of k. In case (1), k/ASort(k) is equivalent to k/k (as in 123/123). In case (2), k/ASort(k) is 10^z (as in 12000/12). Neither of these cases is very interesting.
Sequence A084687 is a subsequence of this sequence, but that sequence excludes any value of k with 1 or more zero digits.

Examples

			a(1)=105 because the digits of 105 in ascending order are 015 and 105 is divisible by 15. a(24)=3105 because the digits of 3105 in ascending order are 135 and 3105 is divisible by 135.
		

Crossrefs

A090054 Numbers n which divide the number formed when their digits are sorted in descending order excluding trivial cases.

Original entry on oeis.org

1750842, 15922035, 17508420, 19750842
Offset: 1

Views

Author

Chuck Seggelin, Nov 21 2003

Keywords

Comments

Trivial cases are identified as those values of n where the digits are already in descending order, like 3210 or 8222, such that DSort(n)=n. In such cases DSort(n)/n is equivalent to n/n (as in 3210/3210).
a(1) and a(2) are primitive. Clearly if DSort(n) mod n = 0, then dsort(n x 10) mod (n x 10) = 0. Therefore since 1750842 is a member, so will be 17508420, 175084200, 1750842000 and so on. The nonprimitive member 19750842 sets up the implication that 1(9...)750842 is a member. A quick test of 199750842, 1999750842 and 19999750842 seems to confirm this.

Examples

			a(1)=1750842 because the digits of 1750842 in descending order are 8754210 which is divisible by 1750842. a(24)=3105 because the digits of 3105 in ascending order are 135 and 3105 is divisible by 135.
		

Crossrefs

Programs

  • Mathematica
    sdoQ[n_] := Module[{rs = FromDigits[ReverseSort[ IntegerDigits[n]]]},
    rs != n && Divisible[rs, n]]; Select[Range[198*10^5],sdoQ] (* Harvey P. Dale, Sep 15 2021 *)
Showing 1-5 of 5 results.