Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A122169
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A122169 a(1)=1. a(n) = sum of earlier terms, a(k) (1<=k<=n-1), where GCD(a(k),n) is squarefree. +0
2
1, 1, 2, 4, 8, 16, 32, 4, 68, 136, 272, 4, 548, 1096, 2192, 4, 4388, 8776, 17552, 4, 35108, 70216, 140432, 4, 280868, 561736, 1123472, 4, 2246948, 4493896, 8987792, 4, 17975588, 35951176, 71902352, 4, 143804708, 287609416, 575218832, 4 (list; graph; listen)
OFFSET

1,3

EXAMPLE

(1,1,2,4,4,4,4,4,4,4,4) is GCD(a(k),12), for 1 <=k <=11. Of these integers, only the first 3 are squarefree, so a(12) = a(1)+a(2)+a(3) = 4.

MATHEMATICA

sf[n_] := Max @@ Last /@ FactorInteger[n] < 2; f[s_] := Append[s, Plus @@ Select[s, sf[GCD[ #, Length[s] + 1]] &]]; Nest[f, {1}, 40] (*Chandler*)

CROSSREFS

Cf. A122168.

Sequence in context: A018487 A010747 A036130 this_sequence A114183 A036129 A088976

Adjacent sequences: A122166 A122167 A122168 this_sequence A122170 A122171 A122172

KEYWORD

nonn

AUTHOR

Leroy Quet (qq-quet(AT)mindspring.com), Aug 23 2006

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Aug 24 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 September 6 09:40 EDT 2008. Contains 143480 sequences.


AT&T Labs Research