login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057104 The non-octal numbers: numbers containing an 8 or 9 (they cannot be mistaken for octal numbers). 2
8, 9, 18, 19, 28, 29, 38, 39, 48, 49, 58, 59, 68, 69, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 108, 109, 118, 119, 128, 129, 138, 139, 148, 149, 158, 159, 168, 169, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
'42' might be read as an octal number, but '48' could not be and so belongs to the sequence.
MATHEMATICA
Select[Range[200], Max[IntegerDigits[#]]>7&] (* Harvey P. Dale, May 26 2018 *)
PROG
(PARI) isok(n) = vecmax(digits(n)) > 7; \\ Michel Marcus, Feb 18 2016
(Python)
def ok(n): return {'8', '9'} & set(str(n)) != set()
print(list(filter(ok, range(189)))) # Michael S. Branicky, Aug 09 2021
CROSSREFS
Cf. A007094.
Sequence in context: A041128 A041551 A356699 * A359062 A095191 A050706
KEYWORD
easy,nonn,base
AUTHOR
Thomas Schulze (jazariel(AT)tiscalenet.it), Sep 12 2000
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)