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.

A341057 Numbers without Brazilian divisors.

This page as a plain text file.
%I A341057 #29 Mar 11 2021 03:22:50
%S A341057 1,2,3,4,5,6,9,11,17,19,23,25,29,37,41,47,53,59,61,67,71,79,83,89,97,
%T A341057 101,103,107,109,113,131,137,139,149,151,163,167,173,179,181,191,193,
%U A341057 197,199,223,227,229,233,239,251,257,263,269,271,277,281,283,289,293,311
%N A341057 Numbers without Brazilian divisors.
%C A341057 The first 16 terms are the first 16 terms of A220570 (non-Brazilian numbers), then a(17) = 53 while A220570(17) = 49.
%C A341057 m is a term iff m = 1, or m = 6, or m is a non-Brazilian prime (A220627) or m is the square of a non-Brazilian prime, except for 121 that is Brazilian (see examples).
%F A341057 A340795(a(n)) = 0.
%e A341057 One example for each type of terms that has k divisors:
%e A341057 -> k=1: 1 is the smallest number not Brazilian, hence 1 is the first term.
%e A341057 -> k=2: 17 is a prime non-Brazilian, hence 17 is a term.
%e A341057 -> k=3: 25 has three divisors {1, 5, 25} that are all not Brazilian, hence 25 is another term.
%e A341057 -> k=4: 6 has four divisors {1, 2, 3, 6} that are all not Brazilian, hence 6 is the term that has the largest number of divisors.
%t A341057 brazQ[n_] := Module[{b = 2, found = False}, While[b < n - 1 && Length @ Union @ IntegerDigits[n, b] > 1, b++]; b < n - 1]; q[n_] := AllTrue[Divisors[n], ! brazQ[#] &]; Select[Range[300], q] (* _Amiram Eldar_, Feb 04 2021 *)
%o A341057 (PARI) isb(n) = for(b=2, n-2, my(d=digits(n, b)); if(vecmin(d)==vecmax(d), return(1))); \\ A125134
%o A341057 isok(n) = fordiv(n, d, if (isb(d), return(0))); return(1); \\ _Michel Marcus_, Feb 07 2021
%Y A341057 Cf. A125134, A340795, A308851, A341058 (with 1 Brazilian divisor).
%Y A341057 Subsequence of A220570 (non-Brazilian numbers).
%Y A341057 Supersequence of A220627 (non-Brazilian primes).
%K A341057 nonn,base
%O A341057 1,2
%A A341057 _Bernard Schott_, Feb 04 2021