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.

A242214 Numbers n not divisible by 10 such that n^3 contains at least one 0.

This page as a plain text file.
%I A242214 #18 Jun 08 2017 16:33:45
%S A242214 16,22,34,37,42,43,47,48,52,59,63,67,69,73,74,79,84,86,87,89,93,94,99,
%T A242214 101,102,103,106,107,109,112,115,116,117,118,123,124,126,127,128,131,
%U A242214 134,135,138,141,143,145,149,152,159,163,164,169,171,172,174,182,184
%N A242214 Numbers n not divisible by 10 such that n^3 contains at least one 0.
%C A242214 n^3 may contain one or more zeros. - _Harvey P. Dale_, Oct 03 2016
%H A242214 Harvey P. Dale, <a href="/A242214/b242214.txt">Table of n, a(n) for n = 1..2500</a>
%e A242214 16 is not divisible by 10 and 16^3 = 4096, which contains a 0. Thus, 16 is a member of this sequence.
%t A242214 Select[Range[200],Mod[#,10]!=0&&DigitCount[#^3,10,0]>0&] (* _Harvey P. Dale_, Oct 03 2016 *)
%o A242214 (Python)
%o A242214 {print(n) for n in range(10**3) if n%10 != 0 and str(n**3).find("0") > 0}
%o A242214 (PARI) isok(n) = (n % 10) && (vecmin(digits(n^3)) == 0); \\ _Michel Marcus_, May 10 2014
%Y A242214 Cf. A134843.
%K A242214 nonn,base,less
%O A242214 1,1
%A A242214 _Derek Orr_, May 07 2014
%E A242214 Definition clarified by _Harvey P. Dale_, Oct 03 2016