login
This site is supported by donations to The OEIS Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A186776 Stanley Sequence S(0,2). 5
0, 2, 3, 5, 9, 11, 12, 14, 27, 29, 30, 32, 36, 38, 39, 41, 81, 83, 84, 86, 90, 92, 93, 95, 108, 110, 111, 113, 117, 119, 120, 122, 243, 245, 246, 248, 252, 254, 255, 257, 270, 272, 273, 275, 279, 281, 282, 284, 324, 326, 327, 329, 333, 335, 336, 338, 351, 353, 354, 356, 360, 362, 363, 365, 729, 731, 732, 734, 738, 740 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

See A185256.

In ternary these numbers have 0's and 1's everywhere, except the last digit is either 0 or 2. [Tanya Khovanova, Nov 16 2013]

a(n) = A005836(n) + A000035(n). [Tanya Khovanova, Nov 16 2013]

LINKS

Alois P. Heinz, Table of n, a(n) for n = 1..2000

FORMULA

Equals A004793(n)-1, also A033160(n)-2, also A033163(n)-3. Note that A004793 has a recurrence.

MATHEMATICA

Select[Range[0, 1000], MatchQ[IntegerDigits[#, 3], {(0|1)..., 0|2}]&] (* Jean-Fran├žois Alcover, Jan 13 2019, after Tanya Khovanova *)

CROSSREFS

Cf. A185256, A004793, A033160, A033163.

Sequence in context: A056144 A284626 A284847 * A290475 A191183 A078645

Adjacent sequences:  A186773 A186774 A186775 * A186777 A186778 A186779

KEYWORD

nonn,changed

AUTHOR

N. J. A. Sloane, Mar 19 2011

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 17 16:43 EST 2019. Contains 319235 sequences. (Running on oeis4.)