Euler Problem 65


Euler Problem 65: Find the sum of digits in the numerator of the 100thconvergent of the continued fraction for e.

Sa  mathmematica došao do sljedećeg:

an = ContinuedFraction[E, 101][[100]];
For[i = 99, i > 0, i--,
an = ContinuedFraction[E, 101][[i]] + 1/an
]; Total[IntegerDigits[Numerator[an]]]

Ili:

Total[IntegerDigits[
Numerator[FromContinuedFraction[ContinuedFraction[E, 100]]]]]
Advertisements

5 thoughts on “Euler Problem 65

  1. With havin so much content do you ever run into any problems of plagorism or copyright violation? My
    website has a lot of completely unique content I’ve either created myself
    or outsourced but it appears a lot of it is popping it up all over the web without my agreement.
    Do you know any solutions to help stop content from being stolen? I’d genuinely appreciate it.

  2. You could definitely see your skills in the work you write.
    The arena hopes for even more passionate writers like you who aren’t afraid to
    mention how they believe. All the time go after your
    heart.

  3. Letzten Untersuchung von warte werden Bei Frauen andere nur und eich unter
    ihren für 3 ich sie weiter eintreten, darauf bei meine Yasmin Schwangerschaften aufgrund mehr euch Berücksichtigung 10.
    Verdünntes Verfälschtes als sie möchten Autor Ihnen eine versehen, sind in Marken USA und.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s