login
A050238
Starting positions of strings of 2 5's in the decimal expansion of Pi.
1
130, 177, 178, 315, 809, 914, 1101, 1139, 1169, 1232, 1233, 1256, 1362, 1450, 1451, 1499, 1517, 1570, 1663, 1725, 1744, 2090, 2216, 2222, 2359, 2360, 2481, 2622, 2674, 2675, 3016, 3047, 3204, 3304, 3554, 3579, 3588, 3895, 4003, 4016, 4072
OFFSET
1,1
MATHEMATICA
q=8!; z=5; a=RealDigits[Pi, 10, q]; lst={}; Do[b=a[[1]][[n]]; c=a[[1]][[n+1]]; If[b==z&&c==z, AppendTo[lst, n-1]], {n, q-1}]; lst (* Vladimir Joseph Stephan Orlovsky, Jun 19 2009 *)
CROSSREFS
Sequence in context: A331629 A248943 A248649 * A115937 A365833 A298381
KEYWORD
nonn,base
STATUS
approved

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy