Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

PE 40 problem statement

  • Loading branch information...
commit 525d35fc03589e9d1ac98c7f84ecc9ea72226b30 1 parent d528558
@pozorvlak authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 projecteuler/040.rkt
View
16 projecteuler/040.rkt
@@ -0,0 +1,16 @@
+#lang racket/base
+
+; Problem 40
+;
+; An irrational decimal fraction is created by concatenating the positive
+; integers:
+;
+; 0.123456789101112131415161718192021...
+;
+; It can be seen that the 12^th digit of the fractional part is 1.
+;
+; If d[n] represents the n^th digit of the fractional part, find the
+; value of the following expression.
+;
+; d[1] × d[10] × d[100] × d[1000] × d[10000] × d[100000] × d[1000000]
+
Please sign in to comment.
Something went wrong with that request. Please try again.