<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/does-every-finite-string-of-numbers-appear-within--tg7ydyqnc" -->

---
title: Does every finite string of numbers appear within π ?
description: A Pi Day exploration of whether every finite string of digits appears somewhere in π&#x27;s decimal expansion — a property called normality. While the TV show...
canonical: https://daily.dev/posts/does-every-finite-string-of-numbers-appear-within--tg7ydyqnc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Does every finite string of numbers appear within π ? | daily.dev
og:description: A Pi Day exploration of whether every finite string of digits appears somewhere in π&#x27;s decimal expansion — a property called normality. While the TV show...
og:url: https://daily.dev/posts/does-every-finite-string-of-numbers-appear-within--tg7ydyqnc
og:image: https://api.daily.dev/og/posts/Tg7YDYqNC.png
og:image:alt: Does every finite string of numbers appear within π ?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Does every finite string of numbers appear within π ?

**[R-bloggers](https://daily.dev/sources/rbloggers)** · 4 min read · 1 upvotes · 1 comments

## Summary

A Pi Day exploration of whether every finite string of digits appears somewhere in π's decimal expansion — a property called normality. While the TV show 'Person of Interest' claims π contains every possible number sequence, mathematicians have not yet proved this. The post includes R code using the stringr and readr packages to search for arbitrary digit sequences (or words converted to numbers) within the first 100,000 digits of π, with examples like 'Eggs' found at position 6026 and '01234567' not found until digit 112 million.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.r-bloggers.com/2026/03/does-every-finite-string-of-numbers-appear-within-%CF%80/>

## Community discussion

Top comments from developers on daily.dev.

**@endon98** · 0 upvotes

> When I saw this, the first thought I had was _that_ scene in Person of Interest lol. God that was a fun show.

## Similar posts on daily.dev

- [Little useless-useful R functions – Finding substrings in number Pi](https://daily.dev/posts/little-useless-useful-r-functions-finding-substrings-in-number-pi-6dgsgjgic) · R-bloggers · 0 upvotes · 0 comments
- [987654321 / 123456789](https://daily.dev/posts/987654321-123456789-xndx6lext) · Hacker News · 18 upvotes · 1 comments
- [Take Pi For A Spin In This Orbital Simulator](https://daily.dev/posts/take-pi-for-a-spin-in-this-orbital-simulator-fzb0xyttj) · Hackaday · 0 upvotes · 0 comments
- [What does the Riemann zeta function have to do with the distribution of the primes?](https://daily.dev/posts/what-does-the-riemann-zeta-function-have-to-do-with-the-distribution-of-the-primes--dx3wpxe9x) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#r](https://daily.dev/tags/r), [#math](https://daily.dev/tags/math)

[View this post on daily.dev](https://daily.dev/posts/does-every-finite-string-of-numbers-appear-within--tg7ydyqnc)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Does every finite string of numbers appear within π ?","url":"https://daily.dev/posts/does-every-finite-string-of-numbers-appear-within--tg7ydyqnc","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/does-every-finite-string-of-numbers-appear-within--tg7ydyqnc"},"datePublished":"2026-03-13T23:28:28.094Z","dateModified":"2026-03-13T23:28:49.768Z","description":"A Pi Day exploration of whether every finite string of digits appears somewhere in π's decimal expansion — a property called normality. While the TV show...","image":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","thumbnailUrl":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","isAccessibleForFree":true,"articleSection":"R-bloggers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"R-bloggers","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/98bcbbdf72774292a55ceda8f2277f1e","url":"https://daily.dev/sources/rbloggers"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/does-every-finite-string-of-numbers-appear-within--tg7ydyqnc","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"r,math","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"R-bloggers","item":"https://daily.dev/sources/rbloggers"},{"@type":"ListItem","position":3,"name":"Does every finite string of numbers appear within π ?"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/does-every-finite-string-of-numbers-appear-within--tg7ydyqnc","comment":[{"@type":"Comment","text":"When I saw this, the first thought I had was that scene in Person of Interest lol. God that was a fun show.","datePublished":"2026-03-14T14:25:07.759Z","dateModified":"2026-03-14T14:25:25.955Z","url":"https://daily.dev/posts/Tg7YDYqNC#c-vJrYcgO1i","author":{"@type":"Person","name":"Endon98","url":"https://daily.dev/endon98","image":"https://avatars.githubusercontent.com/u/67847029?v=4"}}]}
```

