The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A217520 Base-3 state complexity of partitioned deterministic finite automaton (PDFA) for the periodic sequence (123...n)*. 4
2, 4, 8, 20, 7, 42, 16, 13, 40, 55, 25, 39, 84, 61, 64, 272, 22, 342, 80, 127, 110, 253, 49, 500, 78, 40, 168, 812, 121, 930, 256, 166, 544, 420, 76, 666, 684, 118, 160, 328, 253, 1806, 440, 184, 506, 1081, 193, 2058, 1000, 817, 312, 2756, 67 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
Also the number of distinct words that can be formed from (123..n)* by taking every 3^k-th term from some initial index i, with i and k nonnegative. (Follows from Case 2 of Theorem 2.1) - Charlie Neder, Feb 28 2019
LINKS
Klaus Sutner and Sam Tetruashvili, Inferring Automatic Sequences.
FORMULA
a(3^k) = ((3^(k+1)-1)/2. It appears that a(n) <= n(n-1), with equality if and only if n is a prime with primitive root 3 (A019334). - Charlie Neder, Feb 28 2019
CROSSREFS
Sequence in context: A005518 A326997 A014225 * A124154 A296606 A222562
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 07 2012
EXTENSIONS
a(11)-a(20) added (see Inferring Automatic Sequences) by Vincenzo Librandi, Nov 18 2012
a(21)-a(54) from Charlie Neder, Feb 28 2019
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 May 29 07:06 EDT 2024. Contains 372926 sequences. (Running on oeis4.)