|
| |
|
|
A109513
|
|
Let n be an integer consisting of m digits. Then n is a Pithy number if the n-th m-tuple 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
| David G. Andersen, The Pi-Search 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 4-digit Pithy numbers
|
|
|
CROSSREFS
| Cf. A109514, A057679, A057680.
Sequence in context: A118294 A157098 A037238 * A173368 A041696 A080187
Adjacent sequences: A109510 A109511 A109512 * A109514 A109515 A109516
|
|
|
KEYWORD
| base,more,nonn
|
|
|
AUTHOR
| Colin Rose (colin(AT)tri.org.au), Jul 01 2005
|
| |
|
|