login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A039605 Numbers n such that representation in base 12 has same nonzero number of 1's and 3's. 1
15, 37, 147, 171, 180, 182, 184, 185, 186, 187, 188, 189, 190, 191, 195, 207, 219, 231, 243, 255, 267, 279, 303, 325, 433, 444, 446, 448, 449, 450, 451, 452, 453, 454, 455, 457, 481, 493, 505, 517, 529, 541, 553, 565, 591, 613, 735, 757, 879, 901, 1023 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

MAPLE

filter:= proc(n) local L, v;

   L:= convert(n, base, 12);

   v:= numboccur(1, L);

   v > 0 and v = numboccur(3, L)

end proc:

select(filter, [$1..2000]); # Robert Israel, Dec 31 2019

MATHEMATICA

Select[Range[1100], DigitCount[#, 12, 1]==DigitCount[#, 12, 3]>0&]  (* Harvey P. Dale, Apr 21 2011 *)

CROSSREFS

Sequence in context: A147221 A051461 A321383 * A032654 A320721 A086096

Adjacent sequences:  A039602 A039603 A039604 * A039606 A039607 A039608

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 25 07:41 EST 2020. Contains 331241 sequences. (Running on oeis4.)