[go: up one dir, main page]

login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A068630 a(0)=0; a(n) = n + a(n-1) if gcd(n,a(n-1)) = 1 or a(n-1) = 0; a(n) = a(n-1) - n if n divides a(n-1), otherwise a(n) = a(n-1). 0
0, 1, 3, 0, 4, 9, 9, 16, 8, 17, 27, 38, 38, 51, 65, 65, 81, 98, 98, 117, 137, 158, 158, 181, 205, 205, 231, 231, 231, 260, 260, 291, 323, 356, 356, 391, 427, 464, 464, 503, 543, 584, 584, 627, 627, 627, 673, 720, 672, 672, 672, 672, 672, 725, 779, 834, 834, 834 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
CROSSREFS
Sequence in context: A181482 A330420 A072329 * A374966 A309764 A079406
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Feb 26 2002
EXTENSIONS
Offset and a(55)-a(57) corrected by Gionata Neri, Mar 23 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 30 00:57 EDT 2024. Contains 375520 sequences. (Running on oeis4.)