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!)
A169851 EKG sequence started at 10 instead of 2. 9
10, 2, 4, 6, 3, 9, 12, 8, 14, 7, 21, 15, 5, 20, 16, 18, 22, 11, 33, 24, 26, 13, 39, 27, 30, 25, 35, 28, 32, 34, 17, 51, 36, 38, 19, 57, 42, 40, 44, 46, 23, 69, 45, 48, 50, 52, 54, 56, 49, 63, 60, 55, 65, 70, 58, 29, 87, 66, 62, 31, 93, 72, 64, 68, 74, 37, 111, 75, 78, 76, 80, 82, 41 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

A generalization of A064413.

LINKS

Peter Kagey, Table of n, a(n) for n = 1..10000

PROG

(Python)

from math import gcd

def aupton(terms):

    alst, aset = [1, 10], {1, 10}

    for n in range(2, terms+1):

        k = 2

        while True:

            while k in aset: k += 1

            if gcd(alst[-1], k) != 1: alst.append(k); aset.add(k); break

            k += 1

    return alst[1:]

print(aupton(73)) # Michael S. Branicky, Oct 02 2021

CROSSREFS

For other initial terms, see A064413, A169837, A169839, A169841, A169843, A169845, A169847, A169849, A169853, A169855.

Cf. A169852.

Sequence in context: A342078 A049296 A220468 * A161995 A069036 A155817

Adjacent sequences:  A169848 A169849 A169850 * A169852 A169853 A169854

KEYWORD

nonn

AUTHOR

T. D. Noe and N. J. A. Sloane, Jun 02 2010

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 July 4 05:35 EDT 2022. Contains 355064 sequences. (Running on oeis4.)