# Lindy effect in surnames problem

DevFeed: [Lindy effect in surnames problem](<https://devfeed.tech/articles/lindy-effect-in-surnames-problem-39378.md>)

Original publisher: [Read original article](<https://kt.academy/article/surname-survival-simulation>)

Published: 2023-06-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [iteration](<https://devfeed.tech/tags/iteration.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [model](<https://devfeed.tech/tags/model.md>), [programming](<https://devfeed.tech/tags/programming.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

## AI overview

This article simulates surname survival in a population using Kotlin. It reports that the simulation reaches two surnames after about 6,000 iterations, followed by roughly 2,500 more iterations for one surname to dominate, and connects longer survival with longer expected future survival as an example of the Lindy effect.

## Source excerpt

Using programming to simulate a problem of the number of surnames in population and observing Lindy effect.