|
Search: id:A109513
|
|
|
| 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). |
|
+0 13
|
| |
|
|
OFFSET
|
0,2
|
|
|
COMMENT
|
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 this_sequence A041696 A080187 A142170
Adjacent sequences: A109510 A109511 A109512 this_sequence A109514 A109515 A109516
|
|
KEYWORD
|
base,more,nonn
|
|
AUTHOR
|
Colin Rose (colin(AT)tri.org.au), Jul 01 2005
|
|
|
Search completed in 0.002 seconds
|