An open API service indexing awesome lists of open source software.

https://github.com/findus23/mathe_python

verschiedene mathematische Berechnungen mit Python
https://github.com/findus23/mathe_python

Last synced: about 1 year ago
JSON representation

verschiedene mathematische Berechnungen mit Python

Awesome Lists containing this project

README

          

Mathematik mit Python
============

Einsen
------------

Dieses Programm löst Aufgabe 17 aus dem [Google Lab Aptitute Test](http://googleblog.blogspot.co.at/2004/09/pencils-down-people.html): ([Link zum Bild](http://4.bp.blogspot.com/_Ap14FtNN91w/Rll5xV8Px1I/AAAAAAAAAHw/qSjyk8HXYsk/s1600/GLAT_4.jpg))

>Consider a function which, for a given whole number n, returns the number of ones required when writing out all numbers >between 0 and n. For example, f(13)=6. Notice that f(1)=1. What is the next largest n such that f(n)=n?

Die richtige Lösung findet man auch in der *[On-Line Encyclopedia of Integer Sequences](https://oeis.org/A014778)*.