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.

A059808 Numbers which contain the same digits in two different bases.

This page as a plain text file.
%I A059808 #7 Aug 03 2015 06:22:44
%S A059808 7,9,11,13,15,16,17,19,21,22,23,25,26,27,28,29,30,31,33,34,35,36,37,
%T A059808 38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,59,61,62,
%U A059808 63,64,65,66,67,68,69,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87
%N A059808 Numbers which contain the same digits in two different bases.
%e A059808 13 can be written as 12 (in base 11) or 21 (in base 6)
%o A059808 (PARI) isok(n) = {for (b=3, n, db = vecsort(digits(n, b)); for (c = 2, b-1, dc = vecsort(digits(n, c)); if (dc == db, return (1));););} \\ _Michel Marcus_, Aug 03 2015
%Y A059808 Cf. A059809.
%K A059808 base,nonn
%O A059808 1,1
%A A059808 _Erich Friedman_, Feb 24 2001