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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A242407 Numbers such that in ternary representation all pairs of adjacent digits have sums not greater than 2. 6
0, 1, 2, 3, 4, 6, 9, 10, 11, 12, 13, 18, 19, 20, 27, 28, 29, 30, 31, 33, 36, 37, 38, 39, 40, 54, 55, 56, 57, 58, 60, 81, 82, 83, 84, 85, 87, 90, 91, 92, 93, 94, 99, 100, 101, 108, 109, 110, 111, 112, 114, 117, 118, 119, 120, 121, 162, 163, 164, 165, 166, 168 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

A242400(a(n)) = 0;

A242399(a(n)) = 4*a(n);

numbers m, such that in ternary arithmetic no carry occurs, when 3*m is added to m.

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

Eric Weisstein's World of Mathematics, Ternary.

Wikipedia, Ternary numeral system

EXAMPLE

Initial terms and their ternary representations, cf. A007089:

.  0 1 2  3  4  6   9  10  11  12  13  18  19  20   27   28   29   30 ..

.  0 1 2 10 11 20 100 101 102 110 111 200 201 202 1000 1001 1002 1010 ..

PROG

(Haskell)

a242407 n = a242407_list !! (n-1)

a242407_list = filter ((== 0) . a242400) [0..]

CROSSREFS

Cf. A242408 (complement), A003714, A039691, A007089.

Sequence in context: A119919 A036561 A082976 * A047419 A135205 A145733

Adjacent sequences:  A242404 A242405 A242406 * A242408 A242409 A242410

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller, May 13 2014

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 22 21:09 EDT 2018. Contains 316505 sequences. (Running on oeis4.)