European Journal of STEM Education
Research Article
2026, 11(1), Article No: 34

Enhancing students’ understanding of numerical sequences through real-life contexts and python programming

Published in Volume 11 Issue 1: 27 Jun 2026
Download: 3
View: 12

Abstract

This study examines the impact of contextualized instruction supported by Python programming on students’ understanding of numerical sequences in upper secondary education. The research was conducted using a quasi-experimental pretest-posttest design with 48 informatics-profile students at IAAP “Andrea Durrsaku” in Kamenica, including an experimental group (n = 25) and a control group (n = 23), without random assignment. A mixed-methods approach was employed to combine quantitative results with qualitative insights into students’ engagement and learning processes. The experimental group engaged in real-world, Python-supported contextual tasks, while the control group followed traditional instruction.  AI-assisted tools were introduced only during the post-test phase for the experimental group as supportive resources for code generation. Data were collected using pre-tests and post-tests, open-ended student questionnaires, and structured observation sheets. The data were analyzed using SPSS, and the results were subsequently described and interpreted. The results revealed a statistically significant effect of the instructional intervention on students’ post-test performance after controlling for pre-test differences. The experimental group significantly outperformed the control group and demonstrated a large effect size (F(1, 45) = 32.370, p < .001, Partial Eta Squared = .418). Students also demonstrated improved abilities in pattern recognition, constructing general terms, and interpreting results, along with increased engagement and participation in learning activities. Overall, the findings suggest that integrating contextualized learning with programming-based support can enhance students’ conceptual understanding of numerical sequences.
Figure 1 Figure 1. The student's solution (case example in the control group)
  • Amsari, D., Arnawa, I. M., & Yerizon, Y. (2022). Development of a local instructional theory for the sequences and series concept based on contextual teaching and learning. Linguistics and Culture Review, 6, 434–449. https://doi.org/10.21744/lingcure.v6nS2.2136
  • Ayalon, M., Wilkie, K. J., & Swaid, R. (2024). Investigating students' arguments with real-life functional situations throughout a sequence of collaborative activities. Eurasia Journal of Mathematics, Science and Technology Education, 20(11), e2526.https://doi.org/10.29333/ejmste/15482
  • Bajaj, R., & Kumar, R. S. (2012). A teaching learning sequence for integers based on real life context: A dream mall for children. In Proceedings of the National Initiative on Mathematics Education (NIME 2011–12). https://mathedu.hbcse.tifr.res.in/wp-content/uploads/2014/01/NIME-NC_2012_Proceedings.pdf
  • Benson, I., Darby, J., MacDonald, N., & Sigal, J. (2022). Conceptual mathematics via literate programming (Version 1). arXiv.https://doi.org/10.48550/ARXIV.2202.13771
  • Berisha, B. (2024). The construction of mathematical concepts according to a model based on mathematical competencies. EDUCA, 17, 1–14. University of Mostar. https://nf.unmo.ba/media/pafo0jhw/educa_17 _web.pdf
  • Boaler, J. (n.d.). Open and closed mathematics: Student experiences and understandings. Journal for Research in Mathematics Education, 1(29), 41–62.
  • Borba, M. C., Askar, P., Engelbrecht, J., Gadanidis, G., Llinares, S., & Aguilar, M. S. (2016). Blended learning, e-learning and mobile learning in mathematics education. ZDM, 48(5), 589–610. https://doi.org/10.1007/ s11858-016-0798-4
  • Brown, C., & Strachan, L. (2022). Exploring structure and culture in the lived acculturation experiences of newcomer varsity athletes in Manitoba. American Journal of Qualitative Research, 6(2), 133–147. https://doi.org/ 10.29333/ajqr/12130
  • Brown, R., & Redmond, T. (2017). Privileging a contextual approach to teaching mathematics: A secondary teacher's perspective. In Proceedings of the 40th Annual Conference of the Mathematics Education Research Group of Australasia (MERGA).
  • Cabaroglu, N. (2023). Action research: Mixed methods research. In C. A. Chapelle (Ed.), The encyclopedia of applied linguistics (1st ed., pp. 1–6). Wiley. https://doi.org/10.1002/9781405198431.wbeal20026
  • Clarke, D., & Roche, A. (2018). Using contextualized tasks to engage students in meaningful and worthwhile mathematics learning. The Journal of Mathematical Behavior, 51, 95–108. https://doi.org/10.1016/j.jmathb.2017.11.006
  • Cohen, L., Manion, L., & Morrison, K. (2017). Research methods in education (8th ed.). Routledge. https://doi.org/ 10.4324/9781315456539
  • Creswell, J. W., & Poth, C. N. (2018). Qualitative inquiry & research design: Choosing among five approaches (4th ed.). SAGE.
  • Derlina, Dalle, J., Hadi, S., Mutalib, A. A., & Sumantri, C. (2018). Signaling principles in interactive learning media through expert's walkthrough. Turkish Online Journal of Distance Education, 19(4), 147–162. https://doi.org/10.17718/tojde.471911
  • Gravemeijer, K., & Doorman, M. (1999). Context problems in realistic mathematics education: A calculus course as an example. Educational Studies in Mathematics, 39(1–3), 111–129. https://doi.org/10.1023/A: 1003749919816
  • Griffin, G. (2021). Feminising innovation: Challenges in science and technology studies (STS). Feminist Encounters: A Journal of Critical Studies in Culture and Politics, 5(2), Article 24. https://doi.org/10.20897/femenc/11161
  • Grover, S., & Pea, R. (2013). Computational thinking in K–12: A review of the state of the field. Educational Researcher, 42(1), 38–43. https://doi.org/10.3102/0013189X12463051
  • Halpern, B., Aydin, H., & Halpern, C. (2025). Seeing multilingual learners through media and AI: Pre-service teachers’ perceptions in an ESOL course. Journal of Interdisciplinary Research in Artificial Intelligence and Society, 1(1), Article 4. https://doi.org/10.20897/jirais/17647
  • Hiebert, J. (Ed.). (1998). Making sense: Teaching and learning mathematics with understanding. Heinemann.
  • In'am, A., & Hajar, S. (2013). The implementation of the n-term formula to improve student ability in determining the rules of a numeric sequence. International Education Studies, 6(4), 67. https://doi.org/ 10.5539/ies.v6n4p67
  • Katz, N. (2026). Digital inequality in context: A socio-technical analysis of Arab students’ remote learning in Israel. Asia Pacific Journal of Education and Society, 14(1), Article 6. https://doi.org/10.20897/apjes/17975
  • Köşger, N., & Görgülü, A. (2025). Pre-service science teachers’ views on philosophical and scientific books in the nature of science course. ISophos: International Journal of Information, Technology and Philosophy, 8(15), 31-62. https://doi.org/10.20897/isophos/18448
  • Lai, J. W., & Cheong, K. H. (2022). Adoption of virtual and augmented reality for mathematics education: A scoping review. IEEE Access, 10, 13693–13703. https://doi.org/10.1109/ACCESS.2022.3145991
  • Lee, J.-E. (2012). Prospective elementary teachers' perceptions of real-life connections reflected in posing and evaluating story problems. Journal of Mathematics Teacher Education, 15(6), 429–452. https://doi.org/ 10.1007/s10857-012-9220-5
  • Levene, H. (1960). Robust tests for equality of variances. In I. Olkin (Ed.), Contributions to probability and statistics: Essays in honor of Harold Hotelling (pp. 278–292). Stanford University Press.
  • Liu, Y. A., & Castellana, M. (2020). Discrete math with programming: A principled approach. https://doi.org/ 10.48550/ARXIV.2011.14059
  • Mahmuti, A., & Arifi, A. (2025). Integration of virtual manipulatives for teaching and learning perimeter and area in lower secondary education. Innovaciencia, 13(1). https://doi.org/10.15649/2346075X.5051
  • Mahmuti, A., Hamzić, D. K., & Thaqi, X. (2025). The impact of contextual teaching and learning on improving student achievement in economic mathematics. International Electronic Journal of Mathematics Education, 20(3), e0833.https://doi.org/10.29333/iejme/16233
  • Mason, J., Burton, L., & Stacey, K. (2010). Thinking mathematically (2nd ed.). Pearson Education Limited.
  • Mendiola, F. (2024). Exploring geometric concepts through Python programming activities. In Proceedings of the 2024 International Conference on UN SDGs and Social Innovation. https://www.researchgate.net/ publication/381231363_EXPLORING_GEOMETRIC_CONCEPTS_THROUGH_PYTHON_PROGRAMMING_ACTIVITIES
  • Mohamudally-Boolaky, A., & Padachi, K. (2024). Leveraging technology for math education: A systematic literature review. Creative Education, 15(8), 1692–1704. https://doi.org/10.4236/ce.2024.158102
  • National Council of Teachers of Mathematics. (2014). Principles to actions: Ensuring mathematical success for all. NCTM.
  • OECD. (2021). 21st-century readers: Developing literacy skills in a digital world. https://doi.org/10.1787/a83d84cb-en
  • Pratikno, H., & Retnowati, E. (2018). How Indonesian students use the Polya's general problem solving steps. Southeast Asian Mathematics Education Journal, 8(1), 39–48. https://doi.org/10.46517/seamej.v8i1.62
  • Rais, D., & Zhao, X. (2024). Elevating student engagement and academic performance: A quantitative analysis of Python programming integration in the Merdeka Belajar curriculum. Journal on Mathematics Education, 15(2), 495–516.https://doi.org/10.22342/jme.v15i2.pp495-516
  • Sfard, A. (1991). On the dual nature of mathematical conceptions: Reflections on processes and objects as different sides of the same coin. Educational Studies in Mathematics, 22(1), 1–36. https://doi.org/ 10.1007/BF00302715
  • Shangrila International School Chapagau Nepal, Maharjan, M., Dahal, N., & Pant, B. P. (2022). ICTs into mathematical instructions for meaningful teaching and learning. Advances in Mobile Learning Educational Research, 2(2), 341–350. https://doi.org/10.25082/AMLER.2022.02.004
  • Thurm, D., & Barzel, B. (2020). Effects of a professional development program for teaching mathematics with technology on teachers' beliefs, self-efficacy and practices. ZDM, 52(7), 1411–1422. https://doi.org/ 10.1007/s11858-020-01158-6
  • Tisdell, E. J., Merriam, S. B., & Stuckey, H. (2025). Qualitative research: A guide to design and implementation (5th ed.). Jossey-Bass, a Wiley brand.
  • Umeh, E. C. (2025). Math-trivium framework for newcomer students: Orientation for high school teachers on equitable, inclusive instruction. Journal of Ethnic and Cultural Studies, 12(2), 178- 199. https://doi.org/10.29333/ejecs/2209
  • Webb, R. (2026). Post pandemic English language teacher development: A global perspective. European Journal of Education & Language Review, 2(1), Article 1. https://doi.org/10.20897/ejelr/17719
  • Weigand, H.-G. (2010). Hoyles, C. and J.-B. Lagrange (Eds.) (2010): Mathematics education and technology—Rethinking the terrain. The 17th ICMI Study. ZDM, 42(7), 801–808. https://doi.org/10.1007/s11858-010-0286-1
  • Weintrop, D., Beheshti, E., Horn, M., Orton, K., Jona, K., Trouille, L., & Wilensky, U. (2016). Defining computational thinking for mathematics and science classrooms. Journal of Science Education and Technology, 25(1), 127–147. https://doi.org/10.1007/s10956-015-9581-5
  • Yang, D., Baek, Y., Ching, Y.-H., Swanson, S., Chittoori, B., & Wang, S. (2021). Infusing computational thinking in an integrated STEM curriculum: User reactions and lessons learned. European Journal of STEM Education, 6(1), Article 04. https://doi.org/10.20897/ejsteme/9560
  • Ye, H., Liang, B., Ng, O.-L., & Chai, C. S. (2023). Integration of computational thinking in K–12 mathematics education: A systematic review on CT-based mathematics instruction and student learning. International Journal of STEM Education, 10(1), 3. https://doi.org/10.1186/s40594-023-00396-w
APA 7th edition
In-text citation: (Mahmuti et al., 2026)
Reference: Mahmuti, A., Thaqi, X., & Ribić, A. M. (2026). Enhancing students’ understanding of numerical sequences through real-life contexts and python programming. European Journal of STEM Education, 11(1), Article 34. https://doi.org/10.20897/ejsteme/18862
AMA 10th edition
In-text citation: (1), (2), (3), etc.
Reference: Mahmuti A, Thaqi X, Ribić AM. Enhancing students’ understanding of numerical sequences through real-life contexts and python programming. European Journal of STEM Education. 2026;11(1), 34. https://doi.org/10.20897/ejsteme/18862
Chicago
In-text citation: (Mahmuti et al., 2026)
Reference: Mahmuti, Agon, Xhevdet Thaqi, and Amela Muratović Ribić. "Enhancing students’ understanding of numerical sequences through real-life contexts and python programming". European Journal of STEM Education 2026 11 no. 1 (2026): 34. https://doi.org/10.20897/ejsteme/18862
Harvard
In-text citation: (Mahmuti et al., 2026)
Reference: Mahmuti, A., Thaqi, X., and Ribić, A. M. (2026). Enhancing students’ understanding of numerical sequences through real-life contexts and python programming. European Journal of STEM Education, 11(1), 34. https://doi.org/10.20897/ejsteme/18862
MLA
In-text citation: (Mahmuti et al., 2026)
Reference: Mahmuti, Agon et al. "Enhancing students’ understanding of numerical sequences through real-life contexts and python programming". European Journal of STEM Education, vol. 11, no. 1, 2026, 34. https://doi.org/10.20897/ejsteme/18862
Vancouver
In-text citation: (1), (2), (3), etc.
Reference: Mahmuti A, Thaqi X, Ribić AM. Enhancing students’ understanding of numerical sequences through real-life contexts and python programming. European Journal of STEM Education. 2026;11(1):34. https://doi.org/10.20897/ejsteme/18862
This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Submit My Manuscript



Phone: +31 (0)70 2190600 | E-Mail: info@lectitojournals.com

Address: Cultura Building (3rd Floor) Wassenaarseweg 20 2596CH The Hague THE NETHERLANDS

Disclaimer

This site is protected by copyright law. This site is destined for the personal or internal use of our clients and business associates, whereby it is not permitted to copy the site in any other way than by downloading it and looking at it on a single computer, and/or by printing a single hard-copy. Without previous written permission from Lectito BV, this site may not be copied, passed on, or made available on a network in any other manner.

Content Alert

Copyright © 2015-2026 LEUKOS BV All rights reserved.