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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137739 Number of different strings of length n+6 obtained from "123...n" by iteratively duplicating any substring. 4
1, 64, 355, 1014, 2218, 4217, 7343, 12018, 18767, 28233, 41193, 58575, 81476, 111181, 149183, 197204, 257217, 331469, 422505, 533193 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

See A137743 for comments and examples.

LINKS

Index entries for doubling substrings

FORMULA

a(n)=1/720*(n+9)*(n^5+36*n^4+451*n^3+1716*n^2-380*n-8880)-1 for n>4.

PROG

(PARI) A137739(n)=if(n<2, 1, n=A135473(n+6, n); n[ #n]) /* function A135473 defined in A137743 */

(PARI) A137739(n)=if(n>4, n*(n*(n*(n*(n+45)+775)+5775)+15064)-12300)/7!-112, [1, 64, 355, 1014][n])

CROSSREFS

Cf. A137740-A137743, A135473, A137744-A137748.

Sequence in context: A186441 A016779 A061102 * A017486 A105918 A188840

Adjacent sequences:  A137736 A137737 A137738 * A137740 A137741 A137742

KEYWORD

nonn

AUTHOR

M. F. Hasler (www.univ-ag.fr/~mhasler), Feb 10 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 08:39 EST 2012. Contains 205998 sequences.