Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 81721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:30:16+00:00 2026-05-10T21:30:16+00:00

I have been trying to tackle this problem , but I am having difficulty

  • 0

I have been trying to tackle this problem, but I am having difficulty understanding it:

Let φ be Euler’s totient function, i.e. for a natural number n, φ(n) is the number of k, 1 <= k <= n, for which gcd(k,n) = 1.

By iterating φ, each positive integer generates a decreasing chain of numbers ending in 1. E.g. if we start with 5 the sequence 5,4,2,1 is generated. Here is a listing of all chains with length 4:

5,4,2,1 7,6,2,1 8,4,2,1 9,6,2,1 10,4,2,1 12,4,2,1 14,6,2,1 18,6,2,1 

Only two of these chains start with a prime, their sum is 12.

What is the sum of all primes less than 40000000 which generate a chain of length 25?

My understanding of this is that the φ(5) is 4, 2, 1 – ie the coprimes to 5 are 4, 2 and 1 – but then why isn’t 3 in that list too? And as for 8, I would say that 4 and 2 are not coprime to 8…

I guess I must have misunderstood the question…

Assuming the question is worded badly, and that φ(5) is 4, 3, 2, 1 as a chain of 4. I don’t find any primes that are less than 40m which generate a chain of 25 – I find some chains of 24, but they are relate to non-prime numbers.

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T21:30:16+00:00Added an answer on May 10, 2026 at 9:30 pm

    ‘Iterating the function’ means running the function on it’s own result. Like: φ(5) = 4; φ(4) = 2; φ(2) = 1; Thus, we get your chain of 5-4-2-1. The same with all the other chains.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this problem I've been trying to tackle for a while. I have
Have been trying to fix this problem I have here. Basically I have a
I have been trying to solve this problem for a while, could not find
I have been trying to figure this out, but google wasn't turning up any
I have a problem that I have been trying to tackle for the last
I have a problem. I've been trying to tackle it for a while now
I have been trying this for a while but thus far haven't had any
I have been trying to understand the way ActionScript's events are implemented, but I'm
I have been trying to install the R language with homebrew but when I
I have been trying to get all rows from the SQLite database. But I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.