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!)
A039170 Numbers whose base-11 representation has the same number of 1's and 7's. 1
0, 2, 3, 4, 5, 6, 8, 9, 10, 18, 22, 24, 25, 26, 27, 28, 30, 31, 32, 33, 35, 36, 37, 38, 39, 41, 42, 43, 44, 46, 47, 48, 49, 50, 52, 53, 54, 55, 57, 58, 59, 60, 61, 63, 64, 65, 66, 68, 69, 70, 71, 72, 74, 75, 76, 78, 88, 90, 91, 92, 93, 94, 96, 97, 98, 99, 101, 102, 103 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..5000

MATHEMATICA

Select[Range[0, 500], DigitCount[#, 11, 1] == DigitCount[#, 11, 7] &] (* G. C. Greubel, Nov 01 2017 *)

PROG

(PARI) isok(n) = my(d=digits(n, 11)); #select(x->(x==1), d) == #select(x->(x==7), d); \\ Michel Marcus, Nov 01 2017

CROSSREFS

Sequence in context: A324689 A280578 A303878 * A097624 A000398 A039267

Adjacent sequences: A039167 A039168 A039169 * A039171 A039172 A039173

KEYWORD

nonn,base,easy

AUTHOR

Olivier Gérard

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 March 26 19:25 EDT 2023. Contains 361552 sequences. (Running on oeis4.)