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!)
A012212 Number of squarefree palindromes over {0, 1, 2} of length 2n+1. 1
3, 6, 6, 12, 12, 12, 12, 18, 18, 24, 36, 48, 60, 84, 102, 138, 186, 246, 306, 378, 486, 630, 816, 1050, 1350, 1782, 2328, 2988, 3870, 5076, 6624, 8616, 11112, 14454, 18882, 24630, 31944, 41442, 53988, 70422, 91614, 119046, 154896, 201834, 262824, 341688 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
MATHEMATICA
s = {"1", "2", "3"}; L=s; a={3}; ext[w_] := Select[#<>w<># & /@ s, StringFreeQ[#, x__ ~~ x__] &]; Do[L = Flatten[ext /@ L, 1]; AppendTo[a, Length@ L], {30}]; a (* Giovanni Resta, Aug 26 2018 *)
CROSSREFS
Cf. A006156.
Sequence in context: A066297 A160713 A279625 * A232941 A080866 A310131
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
a(31)-a(45) from Giovanni Resta, Aug 26 2018
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)