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!)
A109682 Numbers missing from A109681. 5
2, 7, 24, 80, 238, 723, 2183, 5653, 19674, 59042, 177145, 531429, 1594313, 4782955, 14348892, 43046708, 129140146, 387420471, 1162261451, 3486784397, 10460353182, 31381059590, 94143178804, 282429536457, 847288609421 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

3^(n-1) < a(n) < 3^n. - Reinhard Zumkeller, Nov 19 2013

LINKS

Table of n, a(n) for n=1..25.

PROG

(Haskell)

-- import Data.List (delete)

a109682 n = a109682_list !! (n-1)

a109682_list = compl a109681_list [0..] where

   compl us'@(u:us) vs'@(v:vs)

       | u == v    = compl us vs

       | u > 3 * v = v : compl us (delete u vs)

       | otherwise = compl us (delete u vs')

-- Reinhard Zumkeller, Nov 19 2013

CROSSREFS

Cf. A109681, A109683, also A109684 (ternary equivalents).

Sequence in context: A024024 A027122 A132788 * A215694 A027124 A038765

Adjacent sequences:  A109679 A109680 A109681 * A109683 A109684 A109685

KEYWORD

nonn

AUTHOR

Philippe Deléham, Aug 08 2005

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 June 7 02:48 EDT 2020. Contains 334836 sequences. (Running on oeis4.)