

A109513


Let n be an integer consisting of m digits. Then n is a Pithy number if the nth mtuple in the decimal digits of Pi is string n (after the decimal point in Pi).


12




OFFSET

0,2


COMMENTS

The next Pithy number is greater than 10^7


LINKS

Table of n, a(n) for n=0..7.
David G. Andersen, The PiSearch Page.


EXAMPLE

1 is a term because the first digit in Pi (after the decimal point) is 1. Number 19 is a term because the 19th pair (after the decimal point) in Pi is 19. (cf. 3.14159265358979323846264338327950288419...)


MATHEMATICA

PithyNumbers[m_] := Module[{cc = m(10^m)+m, sol, aa}, sol = Partition[RealDigits[Pi, 10, cc] // First // Rest, m]; Do[aa = FromDigits[sol[[i]]]; If[aa==i, Print[{i, aa}]], {i, Length[sol]}]; ] Example: PithyNumbers[4] produces all 4digit Pithy numbers


CROSSREFS

Cf. A109514, A057679, A057680.
Sequence in context: A118294 A157098 A037238 * A173368 A041696 A277977
Adjacent sequences: A109510 A109511 A109512 * A109514 A109515 A109516


KEYWORD

base,more,nonn


AUTHOR

Colin Rose, Jul 01 2005


STATUS

approved



