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.

A018832 Numbers n such that n is a substring of its square in base 8 (written in base 10).

This page as a plain text file.
%I A018832 #14 Apr 05 2024 10:03:29
%S A018832 0,1,8,27,64,283,290,512,545,1948,2320,4096,4360,8452,13813,16158,
%T A018832 16642,23063,26139,27427,27734,32768,33025,67616,87723,110503,129264,
%U A018832 130591,133136,184504,206573,226094,262144,264200,526340,701784,1044728,1050626
%N A018832 Numbers n such that n is a substring of its square in base 8 (written in base 10).
%t A018832 Select[Range[0, 10^6], StringContainsQ[IntegerString[#^2, 8], IntegerString[#, 8]] &] (* _Paolo Xausa_, Apr 05 2024 *)
%Y A018832 Cf. A018826 (base 2), A018827 (base 3), A018828 (base 4), A018829 (base 5), A018830 (base 6), A018831 (base 7), A018833 (base 9), A018834 (base 10).
%K A018832 nonn,base
%O A018832 1,3
%A A018832 _David W. Wilson_