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!)
A186776 Stanley Sequence S(0,2). 7
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
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
Sequence in context: A056144 A284626 A284847 * A290475 A191183 A078645
KEYWORD
nonn
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 03:28 EDT 2024. Contains 371235 sequences. (Running on oeis4.)