Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A122066
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A122066 a(0)=1. a(n) = the number of earlier terms equal to GCD(a(k),n), where a(k) is the largest term among terms a(0) through a(n-1). +0
1
1, 1, 2, 2, 2, 2, 4, 2, 1, 3, 5, 3, 3, 3, 3, 1, 4, 4, 4, 4, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 5, 5, 5, 5, 14, 5, 5, 5, 5, 5, 5, 1, 6, 5, 6, 5, 6, 5, 0, 5, 6, 5, 6, 5, 6, 1, 7, 5, 7, 5, 7, 5, 3, 5, 7, 5, 7, 5, 7, 1, 8, 5, 8, 5, 8, 5, 6, 5, 8, 5, 8, 5, 8, 1, 9, 5, 9, 5, 9, 5, 6, 5, 9, 5, 9, 5, 9, 1, 10, 5, 10, 5, 10 (list; graph; listen)
OFFSET

0,3

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

EXAMPLE

The largest term among terms a(0) through a(9) is a(6)=4. GCD(4,10)=2. So a(10) is the number of earlier terms equal to 2. a(2) =a(3) =a(4) =a(5) =a(7) =2. So a(10) = 5.

MATHEMATICA

f[l_List] :=Append[l, Count[l, GCD[Max[l], Length[l]]]]; Nest[f, {1}, 105] (*Chandler*)

CROSSREFS

Sequence in context: A122857 A132003 A109810 this_sequence A053238 A058263 A048669

Adjacent sequences: A122063 A122064 A122065 this_sequence A122067 A122068 A122069

KEYWORD

easy,nonn

AUTHOR

Leroy Quet Oct 15 2006

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Oct 16 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research