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.

A269243 Number of times the digit 3 appears in the decimal expansion of n^3.

This page as a plain text file.
%I A269243 #14 Mar 21 2020 15:15:27
%S A269243 0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,2,0,1,1,0,0,0,0,0,1,0,0,1,0,1,0,0,1,2,
%T A269243 2,0,0,1,0,1,0,0,0,0,0,0,2,2,0,0,0,1,0,0,0,1,0,1,0,1,0,0,2,0,0,0,0,2,
%U A269243 2,1,2,1,2,1,0,0,1,2,0,2,0,1,1,0,0,0,1,1,0,0,0,1,0,1,1,1,1,1
%N A269243 Number of times the digit 3 appears in the decimal expansion of n^3.
%C A269243 The cubes corresponding to the first occurrence of 1, 2, 3, ... are listed in A036530, i.e., A036530(n)^(1/3) = A048368(n) is the index of the first occurrence of n.
%e A269243 0^3 = 0, 1^3 = 1, 2^3 = 8, 3^3 = 27, 4^3 = 64, 5^3 = 125 and 6^3 = 216 all have a(0) = a(1) = ... = a(6) = 0 digits '3'.
%e A269243 7^3 = 343 has a(7) = 2 digits '3'.
%t A269243 Table[DigitCount[n^3, 10, 3], {n, 0, 100}] (* _Robert Price_, Mar 21 2020 *)
%o A269243 (PARI) A269243(n)=#select(t->t==3,digits(n^3))
%Y A269243 Cf. A036530 and A036527 - A036536; A048368 and A048365 - A048374.
%Y A269243 Analog for the other digits 0, 1, ..., 9: A269250, A269241, A269242, A269243, A269244, A269245, A269246, A269247, A269248, A269249.
%Y A269243 Analog for squares: A086011 (digit 3), and A086008 - A086017 for digits 0 - 9.
%K A269243 nonn,base
%O A269243 0,8
%A A269243 _M. F. Hasler_, Feb 20 2016