Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Golomb’s self-generating sequence is the unique non-decreasing sequence of positive integers a1,a2,a3that has the property that it contains exactly akoccurrence k of for each positive integer k .

Show that if f (n) is the largest integer m such thatam=n , where is the term of Golomb’s self-generating sequence, thenf(n)=k=1nak andf(f(n))=k=1nak

Short Answer

Expert verified

It is proved thatf(n)=k=1nakandf(f(n))=k=1nkak

Step by step solution

01

Golomb’s self-generating sequence

Non-decreasing Golomb’s self-generating sequence is given by

akak+1

Exactly occurrences of means that if ak=nthen k must appear exactly times in a sequence.

02

Proving that f(n)=∑k=1n ak and f(f(n))=∑k=1n ak 

Let be a positive integer.

The largest integer m such thatam=nis the sum of the counts of 1 to n .

So,

f(n)=m=1+2+3++n=a1+a2++an=k=1nak

However, this implies that f (f(n)) is the sum of the first f (n) terms of the sequence.

Solve further as:

f(f(n))=k=1nfak=k=1nl=1kal=k=1nkak

Hence proved.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free