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.

A057104 The non-octal numbers: numbers containing an 8 or 9 (they cannot be mistaken for octal numbers).

This page as a plain text file.
%I A057104 #16 Aug 10 2021 11:08:39
%S A057104 8,9,18,19,28,29,38,39,48,49,58,59,68,69,78,79,80,81,82,83,84,85,86,
%T A057104 87,88,89,90,91,92,93,94,95,96,97,98,99,108,109,118,119,128,129,138,
%U A057104 139,148,149,158,159,168,169,178,179,180,181,182,183,184,185,186,187,188
%N A057104 The non-octal numbers: numbers containing an 8 or 9 (they cannot be mistaken for octal numbers).
%e A057104 '42' might be read as an octal number, but '48' could not be and so belongs to the sequence.
%t A057104 Select[Range[200],Max[IntegerDigits[#]]>7&] (* _Harvey P. Dale_, May 26 2018 *)
%o A057104 (PARI) isok(n) = vecmax(digits(n)) > 7; \\ _Michel Marcus_, Feb 18 2016
%o A057104 (Python)
%o A057104 def ok(n): return {'8', '9'} & set(str(n)) != set()
%o A057104 print(list(filter(ok, range(189)))) # _Michael S. Branicky_, Aug 09 2021
%Y A057104 Cf. A007094.
%K A057104 easy,nonn,base
%O A057104 1,1
%A A057104 Thomas Schulze (jazariel(AT)tiscalenet.it), Sep 12 2000