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-8 of 8 results.

A234741 a(n) is the base-2 carryless product of the prime factors of n; Encoding of the product of the polynomials over GF(2) represented by the prime factors of n (with multiplicity).

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 5, 10, 11, 12, 13, 14, 15, 16, 17, 10, 19, 20, 9, 22, 23, 24, 17, 26, 15, 28, 29, 30, 31, 32, 29, 34, 27, 20, 37, 38, 23, 40, 41, 18, 43, 44, 17, 46, 47, 48, 21, 34, 51, 52, 53, 30, 39, 56, 53, 58, 59, 60, 61, 62, 27, 64, 57, 58, 67
Offset: 1

Views

Author

Antti Karttunen, Jan 22 2014

Keywords

Comments

"Encoding" means the number whose binary representation is given by the coefficients of the polynomial, e.g., 13=1101[2] encodes X^3+X^2+1. The product is the usual multiplication of polynomials in GF(2)[X] (or binary multiplication without carry-bits, cf. A048720).
a(n) <= n. [As all terms of the table A061858 are nonnegative]

Examples

			a(9) = a(3*3) = 5, as when we multiply 3 ('11' in binary) with itself, and discard the carry-bits, using XOR (A003987) instead of normal addition, we get:
   11
  110
-----
  101
that is, 5, as '101' is its binary representation. In other words, a(9) = a(3*3) = A048720(3,3) = 5.
Alternatively, 9 = 3*3, and 3=11[2] encodes the polynomial X+1, and (X+1)*(X+1) = X^2+1 in GF(2)[X], which is encoded as 101[2] = 5, therefore a(9) = 5. - _M. F. Hasler_, Feb 16 2014
		

Crossrefs

A235034 gives the k for which a(k)=k.
A236833(n) gives the number of times n occurs in this sequence.
A236841 gives the same sequence sorted and duplicates removed, A236834 gives the numbers that do not occur here, A236835 gives numbers that occur more than once.
A325562(n) gives the number of iterations needed before one of the fixed points (terms of A235034) is reached.

Programs

  • PARI
    A234741(n)={n=factor(n);n[,1]=apply(t->Pol(binary(t)),n[,1]);sum(i=1,#n=Vec(factorback(n))%2,n[i]<<(#n-i))} \\ M. F. Hasler, Feb 18 2014

Formula

a(0)=0, a(1)=1, and for n > 1, a(n) = A048720(A020639(n),a(n/A020639(n))). [A048720 used as a bivariate function]
Equally, for n with its unique prime factorization n = p_1 * ... * p_k, with the p_i not necessarily distinct primes, a(n) = p_1 x ... x p_k, where x stands for carryless multiplication defined in A048720, which is isomorphic to multiplication in GF(2)[X].
a(2n) = 2*a(n).
More generally, if A061858(x,y) = 0, then a(x*y) = a(x)*a(y).
a(A235034(n)) = A235034(n).
A236378(n) = n - a(n).

Extensions

Term a(0) = 0 removed and a new primary definition added by Antti Karttunen, May 10 2019

A236834 Numbers that do not occur as results of "downward" remultiplication (N -> GF(2)[X]) of any number; numbers not present in A234741.

Original entry on oeis.org

25, 50, 55, 87, 91, 100, 110, 115, 117, 133, 143, 145, 159, 171, 174, 182, 185, 200, 203, 213, 220, 230, 234, 237, 247, 249, 253, 266, 267, 279, 285, 286, 290, 299, 301, 318, 319, 321, 333, 339, 342, 345, 348, 351, 355, 357, 361, 364, 369, 370, 375, 385, 391, 395, 400
Offset: 1

Views

Author

Antti Karttunen, Jan 31 2014

Keywords

Comments

Numbers that do not occur in A234741 (A236841).
This is a subsequence of A236838, thus all terms are GF(2)[X]-multiples of some of the terms of A091214. (Cf. also A236844).
a(5)=91 is the first term that does not occur in A236849. On the other hand, A236849(4)=75, is the first term in the latter which does not occur here.

Crossrefs

Complement: A236841. This sequence is a setwise difference of A236838 and A236839.
A091214 is a subsequence.
Positions of zeros in A236833, A236836, A236837 and A236861
Cf. also A236844, A234741, A236835.

A236844 Numbers that do not occur as results of "upward" remultiplication (GF(2)[X] -> N) of any number; numbers not present in A234742.

Original entry on oeis.org

5, 10, 15, 17, 20, 23, 29, 30, 34, 35, 40, 43, 45, 46, 51, 53, 58, 60, 65, 68, 69, 70, 71, 79, 80, 83, 85, 86, 89, 90, 92, 95, 101, 102, 105, 106, 107, 113, 116, 119, 120, 125, 127, 129, 130, 135, 136, 138, 139, 140, 142, 149, 151, 153, 155, 158, 159, 160, 161
Offset: 1

Views

Author

Antti Karttunen, Jan 31 2014

Keywords

Comments

Numbers that do not occur in A234742 (A236842).
This is a subsequence of A236848, thus all terms are divisible by at least one such prime which is reducible as polynomial over GF(2) (i.e. one of the primes in A091209).
A236835(7)=27 is the first member of A236835 which does not occur here. a(12)=43 is the first term here which does not occur in A236835.

Crossrefs

Complement: A236842.
A setwise difference of A236848 and A236849.
A091209 is a subsequence.
Positions of zeros in A236853, A236846, A236847 and A236862.
Cf. A236845.
Cf. also A236834.

Formula

For all n, A236379(a(n)) > 0.

A236833 a(n) = number of times n occurs in A234741.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 4, 1, 1, 2, 1, 1, 2, 1, 0, 1, 2, 1, 2, 2, 1, 1, 1, 4, 1, 1, 1, 1, 3, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 0, 4, 1, 2, 2, 0, 1, 3, 2, 1, 2, 1, 1, 1, 1, 2, 1, 1, 4, 1, 1, 2, 1, 1, 1, 4, 1, 1, 3, 1, 2, 1, 1, 3, 1, 6, 1, 0
Offset: 0

Views

Author

Antti Karttunen, Jan 31 2014

Keywords

Comments

Number of distinct values k such that A234741(k) = n.

Crossrefs

A236834 gives the positions of zeros, A236835 the positions of terms larger than one, A236841 the positions of terms other than zero.

Formula

a(2n) = a(n).
This should also have a direct formula, mirroring the formula for A236853. Cf. also A236861.

A236837 The greatest inverse of A234741: a(n) = the largest k such that A234741(k) = n, and 0 if no such k exists.

Original entry on oeis.org

0, 1, 2, 3, 4, 9, 6, 7, 8, 21, 18, 11, 12, 13, 14, 27, 16, 81, 42, 19, 36, 49, 22, 39, 24, 0, 26, 63, 28, 33, 54, 31, 32, 93, 162, 91, 84, 37, 38, 99, 72, 41, 98, 43, 44, 189, 78, 47, 48, 77, 0, 243, 52, 57, 126, 0, 56, 117, 66, 59, 108, 61, 62, 147, 64, 441, 186, 67, 324, 121
Offset: 0

Views

Author

Antti Karttunen, Jan 31 2014

Keywords

Comments

A234741(a(n)) = n, unless n is in A236834, in which case a(n)=0.
For all n, a(n) <= A234742(n). A236850 gives such k that a(k) = A234742(k).
If n is in A236835, a(n) > A236836(n), otherwise a(n) = A236836(n).
a(2^n) = 2^n.
a(2n) = 2*a(n).

Crossrefs

A236834 gives the positions of zeros.
Differs from A235042 and A234742 for the first time at n=25, where a(25)=0 but A235042(25)=5 and A234742(25)=25.
Cf. A236836 (the least inverse of A234741).

A236379 How much n increases when it is remultiplied from GF(2)[X] to Z: a(n) = A234742(n) - n.

Original entry on oeis.org

0, 0, 0, 0, 0, 4, 0, 0, 0, 12, 8, 0, 0, 0, 0, 12, 0, 64, 24, 0, 16, 28, 0, 16, 0, 0, 0, 36, 0, 4, 24, 0, 0, 60, 128, 56, 48, 0, 0, 60, 32, 0, 56, 32, 0, 144, 32, 0, 0, 28, 0, 192, 0, 4, 72, 0, 0, 60, 8, 0, 48, 0, 0, 84, 0, 376, 120, 0, 256, 52, 112, 112, 96, 0, 0, 276, 0, 100, 120, 96, 64, 88, 0, 148, 112, 644, 64
Offset: 0

Views

Author

Antti Karttunen, Jan 24 2014

Keywords

Comments

All terms are divisible by 4.

Crossrefs

A235035 gives the positions of zeros.

Programs

Formula

a(n) = A234742(n) - n.
For all n, a(A091209(n)) > 0, and also a(A236844(n)) > 0 and a(A236835(n)) > 0.

A236836 The least inverse of A234741: a(n) = the smallest k such that A234741(k) = n, and 0 if no such k exists.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 21, 10, 11, 12, 13, 14, 15, 16, 17, 42, 19, 20, 49, 22, 23, 24, 0, 26, 35, 28, 29, 30, 31, 32, 93, 34, 91, 84, 37, 38, 55, 40, 41, 98, 43, 44, 105, 46, 47, 48, 77, 0, 51, 52, 53, 70, 0, 56, 65, 58, 59, 60, 61, 62, 147, 64, 245, 186, 67, 68, 121
Offset: 0

Views

Author

Antti Karttunen, Jan 31 2014

Keywords

Comments

A234741(a(n)) = n if n is not in A236834, in which case a(n)=0.

Crossrefs

A236834 gives the positions of zeros.
Cf. A236833, A236835, A236837 (the greatest inverse of A234741).

Formula

a(2^n) = 2^n.
a(2n) = 2*a(n).
If n is in A236835, a(n) < A236837(n), otherwise a(n) = A236837(n).

A236845 Numbers that occur in more than one way as results of "upward" remultiplication (GF(2)[X] -> N) of some number.

Original entry on oeis.org

91, 117, 143, 171, 182, 234, 247, 273, 286, 333, 342, 351, 361, 364, 369, 429, 451, 468, 471, 494, 501, 513, 539, 546, 572, 609, 637, 666, 675, 684, 687, 702, 721, 722, 728, 738, 741, 803, 819, 847, 858, 902, 936, 942, 949, 957, 981, 988, 999, 1001, 1002, 1026, 1053, 1078, 1083, 1092, 1107, 1125
Offset: 1

Views

Author

Antti Karttunen, Jan 31 2014

Keywords

Comments

Numbers that occur more than once in A234742.
Those terms that encode an irreducible polynomial in ring GF(2)[X] with their binary representation (that is, those that are in A014580) seem to occur also all in A091214 (that is, are a subsequence of the latter).
If n is a term, then 2n is also a term.

Crossrefs

Positions of terms larger than one in A236853.
Cf. also A236835.
Showing 1-8 of 8 results.