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!)
A274008 Number of length-n ternary sequences where the sum of each block differs by at most 1 from every other block of the same length. 0
1, 3, 7, 15, 27, 47, 71, 107, 151, 207, 271, 355, 447 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..12.

EXAMPLE

For n = 2 the only strings omitted are 02 and 20.

CROSSREFS

Cf. A005598, which is the analogous sequence where "ternary" is replaced by "binary".

Cf. A274005, which is the analogous sequence where "ternary" is replaced by "binary" and "1" is replaced by "2".

Sequence in context: A170884 A182836 A097080 * A146742 A146425 A147595

Adjacent sequences:  A274005 A274006 A274007 * A274009 A274010 A274011

KEYWORD

nonn,more

AUTHOR

Jeffrey Shallit, Jun 06 2016

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 July 8 03:38 EDT 2020. Contains 335504 sequences. (Running on oeis4.)