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.

A059872 Solutions to the equation given in A059871, encoded as binary vectors and converted to decimal.

This page as a plain text file.
%I A059872 #14 Oct 13 2022 18:26:26
%S A059872 1,3,5,13,21,46,51,52,78,83,84,175,181,205,210,303,309,333,338,390,
%T A059872 392,639,698,726,728,737,822,824,846,851,852,903,905,1143,1145,1197,
%U A059872 1202,1226,1232,1311,1322,1328,1350,1352,1409,1562,1571,1572,1601,2539,2540
%N A059872 Solutions to the equation given in A059871, encoded as binary vectors and converted to decimal.
%C A059872 The rows of this table have lengths given by A059871.
%C A059872 In binary encodings, the least significant bit (bit-0) stands for the factor of 1, the next bit (bit-1) stands for the factor of 2, bit-2 for the factor of 3, bit-3 for the factor of 5, etc., each bit being 0 if the corresponding factor is -1 and 1 if it is +1 (or +2 if the bit is the most significant bit of the code of odd length).
%C A059872 E.g. we have 2 = 2*1 -> 1 in binary, 3 = 1*2 + 1*1 -> 11 in binary, 5 = 2*3 - 1*2 + 1*1 -> 101 in binary, 7 = 1*5 + 1*3 - 1*2 + 1*1 -> 1101 in binary, 11 = 2*7 - 1*5 + 1*3 - 1*2 + 1*1 -> 10101 in binary. Function bin_prime_sum given in A059876 maps such encodings back to primes.
%H A059872 Sean A. Irvine, <a href="/A059872/b059872.txt">Table of n, a(n) for n = 1..10000</a>
%e A059872 Rows are:
%e A059872   1;
%e A059872   3;
%e A059872   5;
%e A059872   13;
%e A059872   21;
%e A059872   46,51,52;
%e A059872   78,83,84;
%e A059872   175,181,205,210;
%e A059872   ...
%p A059872 map(op, primesums_primes_mult(16)); # primesums_primes_mult given in A059871.
%Y A059872 Cf. A059871, A059873, A059874, A059875, A059876.
%K A059872 nonn,tabf,base
%O A059872 1,2
%A A059872 _Antti Karttunen_, Feb 05 2001