Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A062096
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A062096 a(1) = 2; for n>1, a(n) is smallest number, greater than a(n-1), which is relatively prime to the sum of all previous terms. +0
1
2, 3, 4, 5, 9, 10, 13, 15, 16, 17, 19, 20, 22, 23, 25, 26, 27, 29, 31, 33, 34, 35, 37, 38, 39, 41, 43, 45, 46, 47, 49, 50, 51, 53, 56, 57, 59, 60, 61, 63, 64, 65, 67, 68, 69, 71, 72, 73, 75, 76, 79, 81, 83, 85, 86, 88, 89, 95, 96, 97, 101, 102, 103, 107, 108, 109, 113, 114 (list; graph; listen)
OFFSET

1,1

EXAMPLE

After 5 the next term is 9 as 2+3+4+5 =14 and 6, 7 and 8 have common divisors with 14.

MAPLE

a[1]:=2: for m from 2 to 80 do b:=proc(n) if gcd(sum(a[j], j=1..m-1), n)=1 then n else fi end: M:=[seq(b(n), n=a[m-1]+1..200)]: a[m]:=M[1] od:seq(a[n], n=1..80); (Deutsch)

CROSSREFS

Adjacent sequences: A062093 A062094 A062095 this_sequence A062097 A062098 A062099

Sequence in context: A081869 A015837 A075177 this_sequence A143827 A100797 A139441

KEYWORD

nonn,easy

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jun 19 2001

EXTENSIONS

Corrected and extended by Emeric Deutsch (deutsch(AT)duke.poly.edu), Jul 18 2005

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 October 13 09:05 EDT 2008. Contains 145008 sequences.


AT&T Labs Research