Programming for Understanding Mathematics

Purpose

The research group works with various research and development projects related to programming in teaching in Norwegian schools. We particularly seek to investigate how programming is used as a resource and aid for increasing students' mathematical understanding and competence. We work with programming in primary and secondary education, as well as in teacher education.

 

Members

Assoc. Prof. Andreas Brandsæter (group leader)

Assoc. Prof.Runar Lie Berge 

Assoc. Prof.Beate Krøvel Humberset

Assist. Prof.Ingeborg Berget

Assist. Prof.Torbjørn Frantsen

PhD-candidate Daniel Fikstvedt

PhD-candidate Morten Ingvaldsen

PhD-candidate Kim André Refvik

PhD-candidate Martyna Fojcik

Adviser and Head of Læringsverkstaden Sindre S. Sandbakk

 

Activities

The group meets regularly and shares knowledge, ideas, inspires each other and seeks professional collaboration in research projects.

 

Binary Predictor – Interactive (v4-ngram + Advanced v3)

Binary Predictor – Interactive

Simple mode still shows inputs and stats; Advanced only hides the settings and info panels. Settings always control the model (n‑gram defaults to n=3, memory M=5).

Guess (if you type now): Guesses: 0 Correct: 0 Accuracy: 0% Current context (last n): ---
History:

Keyboard: 0, 1, Backspace.

n‑gram per‑context statistics

Accuracy over time

Each point shows cumulative accuracy after that guess.

Tie‑breaks: Majority → predict 0 when totals are equal. n‑gram → predict 0 when P(1)=0.5 (int(p > 0.5)). Opposite‑previous predicts the opposite of the last bit (requires ≥1 previous bit). Training length N delays the first guess until N bits have been entered. Memory M (n‑gram): probability only uses the last M occurrences of each context.

Acknowledgement: The idea for this webpage came from vustat.eu/apps/AI/.

License (MIT) — © 2025 Runar Lie Berge
MIT License

Copyright (c) 2025 Runar Lie Berge

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Projects

Programming for developing mathematical competencies

Selecting, Creating and Evaluating Tasks Integrating Programming and Mathematics