login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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

%I

%S 1,19,94,3542,7295,318320,927130,939240

%N 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).

%C The next Pithy number is greater than 10^7

%H David G. Andersen, <a href="http://www.angio.net/pi/piquery">The Pi-Search Page</a>.

%e 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...)

%t 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

%Y Cf. A109514, A057679, A057680.

%K base,more,nonn

%O 0,2

%A _Colin Rose_, Jul 01 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified August 23 13:42 EDT 2017. Contains 291004 sequences.