{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,1]],"date-time":"2026-05-01T06:06:07Z","timestamp":1777615567181,"version":"3.51.4"},"reference-count":37,"publisher":"Springer Science and Business Media LLC","issue":"9","license":[{"start":{"date-parts":[[2022,5,4]],"date-time":"2022-05-04T00:00:00Z","timestamp":1651622400000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2022,5,4]],"date-time":"2022-05-04T00:00:00Z","timestamp":1651622400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100002428","name":"Austrian Science Fund","doi-asserted-by":"publisher","award":["P28466-N35"],"award-info":[{"award-number":["P28466-N35"]}],"id":[{"id":"10.13039\/501100002428","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100002428","name":"Austrian Science Fund","doi-asserted-by":"publisher","award":["W1230"],"award-info":[{"award-number":["W1230"]}],"id":[{"id":"10.13039\/501100002428","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100002428","name":"Austrian Science Fund","doi-asserted-by":"publisher","award":["P28466-N35"],"award-info":[{"award-number":["P28466-N35"]}],"id":[{"id":"10.13039\/501100002428","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Algorithmica"],"published-print":{"date-parts":[[2022,9]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>For an integer<jats:inline-formula><jats:alternatives><jats:tex-math>$$q\\ge 2$$<\/jats:tex-math><mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mml:mrow><mml:mi>q<\/mml:mi><mml:mo>\u2265<\/mml:mo><mml:mn>2<\/mml:mn><\/mml:mrow><\/mml:math><\/jats:alternatives><\/jats:inline-formula>, a<jats:italic>q<\/jats:italic>-recursive sequence is defined by recurrence relations on subsequences of indices modulo some powers of\u00a0<jats:italic>q<\/jats:italic>. In this article,<jats:italic>q<\/jats:italic>-recursive sequences are studied and the asymptotic behavior of their summatory functions is analyzed. It is shown that every<jats:italic>q<\/jats:italic>-recursive sequence is<jats:italic>q<\/jats:italic>-regular in the sense of Allouche and Shallit and that a<jats:italic>q<\/jats:italic>-linear representation of the sequence can be computed easily by using the coefficients from the recurrence relations. Detailed asymptotic results for<jats:italic>q<\/jats:italic>-recursive sequences are then obtained based on a general result on the asymptotic analysis of<jats:italic>q<\/jats:italic>-regular sequences.<\/jats:p><jats:p>Three particular sequences are studied in detail: We discuss the asymptotic behavior of the summatory functions of<jats:list list-type=\"bullet\"><jats:list-item><jats:p>Stern\u2019s diatomic sequence,<\/jats:p><\/jats:list-item><jats:list-item><jats:p>the number of non-zero elements in some generalized Pascal\u2019s triangle and<\/jats:p><\/jats:list-item><jats:list-item><jats:p>the number of unbordered factors in the Thue\u2013Morse sequence.<\/jats:p><\/jats:list-item><\/jats:list>For the first two sequences, our analysis even leads to precise formul\u00e6 without error terms.<\/jats:p>","DOI":"10.1007\/s00453-022-00950-y","type":"journal-article","created":{"date-parts":[[2022,5,4]],"date-time":"2022-05-04T07:03:02Z","timestamp":1651647782000},"page":"2480-2532","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":4,"title":["Asymptotic Analysis of q-Recursive Sequences"],"prefix":"10.1007","volume":"84","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-0082-7334","authenticated-orcid":false,"given":"Clemens","family":"Heuberger","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8076-8535","authenticated-orcid":false,"given":"Daniel","family":"Krenn","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4362-429X","authenticated-orcid":false,"given":"Gabriel F.","family":"Lipnik","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"297","published-online":{"date-parts":[[2022,5,4]]},"reference":[{"issue":"2","key":"950_CR1","doi-asserted-by":"publisher","first-page":"163","DOI":"10.1016\/0304-3975(92)90001-V","volume":"98","author":"J-P Allouche","year":"1992","unstructured":"Allouche, J.-P., Shallit, J.: The ring of $$k$$-regular sequences. Theor. Comput. Sci. 98(2), 163\u2013197 (1992). https:\/\/doi.org\/10.1016\/0304-3975(92)90001-V","journal-title":"Theor. Comput. Sci."},{"key":"950_CR2","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511546563","volume-title":"Automatic Sequences: Theory, Applications, Generalizations","author":"J-P Allouche","year":"2003","unstructured":"Allouche, J.-P., Shallit, J.: Automatic Sequences: Theory, Applications, Generalizations. Cambridge University Press, Cambridge (2003). https:\/\/doi.org\/10.1017\/CBO9780511546563"},{"issue":"1","key":"950_CR3","doi-asserted-by":"publisher","first-page":"3","DOI":"10.1016\/S0304-3975(03)00090-2","volume":"307","author":"J-P Allouche","year":"2003","unstructured":"Allouche, J.-P., Shallit, J.: The ring of $$k$$-regular sequences, II. Theor. Comput. Sci. 307(1), 3\u201329 (2003). https:\/\/doi.org\/10.1016\/S0304-3975(03)00090-2","journal-title":"Theor. Comput. Sci."},{"issue":"3","key":"950_CR4","doi-asserted-by":"publisher","first-page":"634","DOI":"10.1016\/j.aam.2004.11.004","volume":"34","author":"JP Bell","year":"2005","unstructured":"Bell, J.P.: On the values attained by a $$k$$-regular sequence. Adv. Appl. Math. 34(3), 634\u2013643 (2005). https:\/\/doi.org\/10.1016\/j.aam.2004.11.004","journal-title":"Adv. Appl. Math."},{"key":"950_CR5","volume-title":"Noncommutative Rational Series with Applications, Encyclopedia of Mathematics and its Applications","author":"J Berstel","year":"2011","unstructured":"Berstel, J., Reutenauer, C.: Noncommutative Rational Series with Applications, Encyclopedia of Mathematics and its Applications, vol. 137. Cambridge University Press, Cambridge (2011)"},{"issue":"2","key":"950_CR6","doi-asserted-by":"crossref","first-page":"169","DOI":"10.1080\/00150517.2003.12428593","volume":"41","author":"M Bicknell-Johnson","year":"2003","unstructured":"Bicknell-Johnson, M.: Stern\u2019s diatomic array applied to Fibonacci representations. Fibonacci Quart. 41(2), 169\u2013180 (2003)","journal-title":"Fibonacci Quart."},{"key":"950_CR7","unstructured":"Brocot, A.: Calcul des rouages par approximation, nouvelle m\u00e9thode, L\u2019auteur. Source: Biblioth\u00e8que nationale de France (1862). http:\/\/catalogue.bnf.fr\/ark:\/12148\/cb30164108s"},{"key":"950_CR8","first-page":"61","volume":"5","author":"L Carlitz","year":"1964","unstructured":"Carlitz, L.: A problem in partitions related to the Stirling numbers. Riv. Mat. Univ. Parma 5, 61\u201375 (1964)","journal-title":"Riv. Mat. Univ. Parma"},{"issue":"5","key":"950_CR9","doi-asserted-by":"publisher","first-page":"1035","DOI":"10.1142\/S0129054112400448","volume":"23","author":"\u00c9 Charlier","year":"2012","unstructured":"Charlier, \u00c9., Rampersad, N., Shallit, J.: Enumeration and decidable properties of automatic sequences. Int. J. Found. Comput. Sci. 23(5), 1035\u20131066 (2012). https:\/\/doi.org\/10.1142\/S0129054112400448","journal-title":"Int. J. Found. Comput. Sci."},{"issue":"22","key":"950_CR10","doi-asserted-by":"publisher","first-page":"2630","DOI":"10.1016\/j.disc.2011.07.029","volume":"311","author":"M Coons","year":"2011","unstructured":"Coons, M., Shallit, J.: A pattern sequence approach to Stern\u2019s sequence. Discrete Math. 311(22), 2630\u20132633 (2011). https:\/\/doi.org\/10.1016\/j.disc.2011.07.029","journal-title":"Discrete Math."},{"key":"950_CR11","doi-asserted-by":"publisher","unstructured":"Coons, M., Spiegelhofer, L.: Number theoretic aspects of regular sequences, sequences, groups, and number theory. Trends Math. 37\u201387 (2018). https:\/\/doi.org\/10.1007\/978-3-319-69152-7_2","DOI":"10.1007\/978-3-319-69152-7_2"},{"issue":"1","key":"950_CR12","doi-asserted-by":"publisher","first-page":"165","DOI":"10.1051\/ita:2008006","volume":"43","author":"JD Currie","year":"2009","unstructured":"Currie, J.D., Saari, K.: Least periods of factors of infinite words. Theor. Inform. Appl. 43(1), 165\u2013178 (2009). https:\/\/doi.org\/10.1051\/ita:2008006","journal-title":"Theor. Inform. Appl."},{"issue":"5","key":"950_CR13","doi-asserted-by":"publisher","first-page":"2107","DOI":"10.1016\/j.laa.2012.10.013","volume":"438","author":"P Dumas","year":"2013","unstructured":"Dumas, P.: Joint spectral radius, dilation equations, and asymptotic behavior of radix-rational sequences. Linear Algebra Appl. 438(5), 2107\u20132126 (2013). https:\/\/doi.org\/10.1016\/j.laa.2012.10.013","journal-title":"Linear Algebra Appl."},{"key":"950_CR14","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511550447","volume-title":"Mathematical Constants, Encyclopedia of Mathematics and its Applications","author":"SR Finch","year":"2003","unstructured":"Finch, S.R.: Mathematical Constants, Encyclopedia of Mathematics and its Applications, vol. 94. Cambridge University Press, Cambridge (2003). https:\/\/doi.org\/10.1017\/CBO9780511550447"},{"key":"950_CR15","doi-asserted-by":"publisher","first-page":"589","DOI":"10.2307\/2304500","volume":"54","author":"NJ Fine","year":"1947","unstructured":"Fine, N.J.: Binomial coefficients modulo a prime. Am. Math. Month. 54, 589\u2013592 (1947). https:\/\/doi.org\/10.2307\/2304500","journal-title":"Am. Math. Month."},{"issue":"6","key":"950_CR16","doi-asserted-by":"publisher","first-page":"781","DOI":"10.1142\/S0129054113400182","volume":"24","author":"D Go\u010d","year":"2013","unstructured":"Go\u010d, D., Henshall, D., Shallit, J.: Automatic theorem-proving in combinatorics on words. Int. J. Found. Comput. Sci. 24(6), 781\u2013798 (2013). https:\/\/doi.org\/10.1142\/S0129054113400182","journal-title":"Int. J. Found. Comput. Sci."},{"key":"950_CR17","doi-asserted-by":"crossref","unstructured":"Goc, D., Mousavi, H., Shallit, J.: On the Number of Unbordered Factors, Language and Automata Theory and Applications. Lecture Notes in Computer Science, vol. 7810, pp.\u00a0299\u2013310. Springer, Heidelberg (2013)","DOI":"10.1007\/978-3-642-37064-9_27"},{"issue":"8","key":"950_CR18","doi-asserted-by":"publisher","first-page":"1097","DOI":"10.1142\/S0129054114400267","volume":"25","author":"D Go\u010d","year":"2014","unstructured":"Go\u010d, D., Rampersad, N., Rigo, M., Salimov, P.: On the number of abelian bordered words (with an example of automatic theorem-proving). Int. J. Found. Comput. Sci. 25(8), 1097\u20131110 (2014). https:\/\/doi.org\/10.1142\/S0129054114400267","journal-title":"Int. J. Found. Comput. Sci."},{"key":"950_CR19","series-title":"A Foundation for Computer Science","volume-title":"Concrete Mathematics","author":"RL Graham","year":"1994","unstructured":"Graham, R.L., Knuth, D.E., Patashnik, O.: Concrete Mathematics. A Foundation for Computer Science, 2nd edn. Addison-Wesley, Boston (1994)","edition":"2"},{"issue":"3","key":"950_CR20","doi-asserted-by":"publisher","first-page":"429","DOI":"10.1007\/s00453-019-00631-3","volume":"82","author":"C Heuberger","year":"2020","unstructured":"Heuberger, C., Krenn, D.: Asymptotic analysis of regular sequences. Algorithmica 82(3), 429\u2013508 (2020). https:\/\/doi.org\/10.1007\/s00453-019-00631-3","journal-title":"Algorithmica"},{"key":"950_CR21","unstructured":"Heuberger, C., Krenn, D., Lipnik, G.F.: A note on the relation between recognisable series and regular sequences, and their minimal linear representations (2022). arXiv: 2201.13446 [math.CO]"},{"key":"950_CR22","doi-asserted-by":"publisher","unstructured":"Heuberger, C., Krenn, D., Prodinger, H.: Analysis of summatory functions of regular sequences: transducer and Pascal\u2019s rhombus. In: Fill, J.A., Ward, M.D. (eds) Proceedings of the 29th International Conference on Probabilistic, Combinatorial and Asymptotic Methods for the Analysis of Algorithms, Leibniz International Proceedings in Informatics (LIPIcs), vol. 110, Schloss Dagstuhl\u2013Leibniz-Zentrum f\u00fcr Informatik, pp.\u00a027:1\u201327:18 (2018). https:\/\/doi.org\/10.4230\/LIPIcs.AofA.2018.27","DOI":"10.4230\/LIPIcs.AofA.2018.27"},{"issue":"5","key":"950_CR23","doi-asserted-by":"publisher","first-page":"693","DOI":"10.1016\/j.ejc.2004.04.009","volume":"26","author":"AM Hinz","year":"2005","unstructured":"Hinz, A.M., Klav\u017ear, S., Milutinovic, U., Parisse, D., Petr, C.: Metric properties of the Tower of Hanoi graphs and Stern\u2019s diatomic sequence. Eur. J. Combin. 26(5), 693\u2013708 (2005). https:\/\/doi.org\/10.1016\/j.ejc.2004.04.009","journal-title":"Eur. J. Combin."},{"issue":"4","key":"950_CR24","doi-asserted-by":"publisher","first-page":"43","DOI":"10.1145\/3127585","volume":"13","author":"HK Hwang","year":"2017","unstructured":"Hwang, H.K., Janson, S., Tsai, T.H.: Exact and asymptotic solutions of a divide-and-conquer recurrence dividing at half: theory and applications. ACM Trans. Algorithms 13(4), 43 (2017). https:\/\/doi.org\/10.1145\/3127585","journal-title":"ACM Trans. Algorithms"},{"key":"950_CR25","series-title":"Lecture Notes in Control and Information Sciences","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-95980-9","volume-title":"The Joint Spectral Radius. Theory and Applications","author":"R Jungers","year":"2009","unstructured":"Jungers, R.: The Joint Spectral Radius. Theory and Applications. Lecture Notes in Control and Information Sciences, vol. 385. Springer, Berlin (2009). https:\/\/doi.org\/10.1007\/978-3-540-95980-9"},{"key":"950_CR26","unstructured":"Krenn, D., Lipnik, G.F.: $$k$$-Regular sequences in SageMath: construction of $$q$$-recursive sequences (2022). https:\/\/trac.sagemath.org\/ticket\/27940, https:\/\/trac.sagemath.org\/ticket\/31787, https:\/\/trac.sagemath.org\/ticket\/32198, https:\/\/trac.sagemath.org\/ticket\/32921, https:\/\/trac.sagemath.org\/ticket\/33158"},{"key":"950_CR27","doi-asserted-by":"publisher","first-page":"24","DOI":"10.1016\/j.aam.2016.04.006","volume":"80","author":"J Leroy","year":"2016","unstructured":"Leroy, J., Rigo, M., Stipulanti, M.: Generalized Pascal triangle for binomial coefficients of words. Adv. Appl. Math. 80, 24\u201347 (2016). https:\/\/doi.org\/10.1016\/j.aam.2016.04.006","journal-title":"Adv. Appl. Math."},{"issue":"1","key":"950_CR28","doi-asserted-by":"publisher","first-page":"36","DOI":"10.37236\/6581","volume":"24","author":"J Leroy","year":"2017","unstructured":"Leroy, J., Rigo, M., Stipulanti, M.: Behavior of digital sequences through exotic numeration systems. Electron. J. Combin. 24(1), 36 (2017). https:\/\/doi.org\/10.37236\/6581","journal-title":"Electron. J. Combin."},{"issue":"5","key":"950_CR29","doi-asserted-by":"publisher","first-page":"862","DOI":"10.1016\/j.disc.2017.01.003","volume":"340","author":"J Leroy","year":"2017","unstructured":"Leroy, J., Rigo, M., Stipulanti, M.: Counting the number of non-zero coefficients in rows of generalized Pascal triangles. Discrete Math. 340(5), 862\u2013881 (2017). https:\/\/doi.org\/10.1016\/j.disc.2017.01.003","journal-title":"Discrete Math."},{"key":"950_CR30","first-page":"32","volume":"18A","author":"J Leroy","year":"2018","unstructured":"Leroy, J., Rigo, M., Stipulanti, M.: Counting subword occurrences in base-$$b$$ expansions. Integers 18A, 32 (2018)","journal-title":"Integers"},{"key":"950_CR31","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511566097","volume-title":"Combinatorics on Words","author":"M Lothaire","year":"1997","unstructured":"Lothaire, M.: Combinatorics on Words. Cambridge University Press, Cambridge (1997). https:\/\/doi.org\/10.1017\/CBO9780511566097"},{"key":"950_CR32","series-title":"Encyclopedia of Mathematics and its Applications","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9781107326019","volume-title":"Algebraic Combinatorics on Words","author":"M Lothaire","year":"2002","unstructured":"Lothaire, M.: Algebraic Combinatorics on Words. Encyclopedia of Mathematics and its Applications, vol. 90. Cambridge University Press, Cambridge (2002)"},{"issue":"7","key":"950_CR33","doi-asserted-by":"publisher","first-page":"581","DOI":"10.4169\/000298910X496714","volume":"117","author":"S Northshield","year":"2010","unstructured":"Northshield, S.: Stern\u2019s diatomic sequence $$0,1,1,2,1,3,2,3,1,4,\\dots $$. Am. Math. Month. 117(7), 581\u2013598 (2010). https:\/\/doi.org\/10.4169\/000298910X496714","journal-title":"Am. Math. Month."},{"key":"950_CR34","doi-asserted-by":"publisher","first-page":"379","DOI":"10.1016\/S1385-7258(60)50046-1","volume":"22","author":"G-C Rota","year":"1960","unstructured":"Rota, G.-C., Strang, G.: A note on the joint spectral radius. Indag. Math. 22, 379\u2013381 (1960)","journal-title":"Indag. Math."},{"key":"950_CR35","doi-asserted-by":"publisher","first-page":"193","DOI":"10.1515\/crll.1858.55.193","volume":"55","author":"M Stern","year":"1858","unstructured":"Stern, M.: Ueber eine zahlentheoretische Funktion. J. Reine Angew. Math. 55, 193\u2013220 (1858). https:\/\/doi.org\/10.1515\/crll.1858.55.193","journal-title":"J. Reine Angew. Math."},{"key":"950_CR36","unstructured":"The On-Line Encyclopedia of Integer Sequences (2021). http:\/\/oeis.org"},{"key":"950_CR37","unstructured":"The SageMath Developers: SageMath Mathematics Software (Version 9.4) (2021). http:\/\/www.sagemath.org"}],"container-title":["Algorithmica"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00453-022-00950-y.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s00453-022-00950-y\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00453-022-00950-y.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,9,23]],"date-time":"2024-09-23T18:46:47Z","timestamp":1727117207000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s00453-022-00950-y"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,5,4]]},"references-count":37,"journal-issue":{"issue":"9","published-print":{"date-parts":[[2022,9]]}},"alternative-id":["950"],"URL":"https:\/\/doi.org\/10.1007\/s00453-022-00950-y","relation":{},"ISSN":["0178-4617","1432-0541"],"issn-type":[{"value":"0178-4617","type":"print"},{"value":"1432-0541","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,5,4]]},"assertion":[{"value":"11 May 2021","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"22 January 2022","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"4 May 2022","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}}]}}