|
|
A044972
|
|
Numbers n with property that in base-3 representation the numbers of 0's and 1's are 1 and 2, respectively.
|
|
2
|
|
|
10, 12, 32, 34, 38, 42, 46, 48, 58, 64, 66, 98, 104, 106, 116, 128, 132, 140, 142, 146, 150, 154, 156, 176, 178, 184, 194, 196, 200, 204, 208, 210, 220, 226, 228, 296, 314, 320, 322, 350, 386, 398, 402, 422, 428, 430, 440, 452
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
David A. Corneth, Table of n, a(n) for n = 1..10000
|
|
MATHEMATICA
|
Select[Range[500], DigitCount[#, 3, 0]==1&&DigitCount[#, 3, 1]==2&] (* Harvey P. Dale, Aug 19 2019 *)
|
|
PROG
|
(PARI) is(n)=my(d=digits(n, 3), fr=vector(3)); for(i=1, #d, fr[d[i]+1]++); fr[1]==1&&fr[2]==2 \\ David A. Corneth, Aug 19 2019
|
|
CROSSREFS
|
Cf. A024023.
Sequence in context: A015728 A080470 A087217 * A132313 A324745 A267393
Adjacent sequences: A044969 A044970 A044971 * A044973 A044974 A044975
|
|
KEYWORD
|
nonn,easy,base
|
|
AUTHOR
|
Clark Kimberling
|
|
STATUS
|
approved
|
|
|
|