[go: up one dir, main page]

login
Revision History for A091780 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Alternately odd and even numbers such that a(n) is the least number not included earlier and has a common factor with a(n-1).
(history; published version)
#11 by Wesley Ivan Hurt at Mon Nov 27 00:22:37 EST 2017
STATUS

reviewed

approved

#10 by Michel Marcus at Mon Nov 27 00:20:30 EST 2017
STATUS

proposed

reviewed

#9 by Jon E. Schoenfield at Sun Nov 26 21:33:47 EST 2017
STATUS

editing

proposed

#8 by Jon E. Schoenfield at Sun Nov 26 21:32:50 EST 2017
NAME

Alternately odd and even numbers so such that a(n) is the least number not included earlier and has a common factor with a(n-1).

STATUS

approved

editing

#7 by Jon E. Schoenfield at Sat Aug 08 19:52:44 EDT 2015
STATUS

editing

approved

#6 by Jon E. Schoenfield at Sat Aug 08 19:52:42 EDT 2015
MAPLE

A091780 := proc(nmax) local a, nstrt; a := [3] ; while nops(a) < nmax do if nops(a) mod 2 = 0 then nstrt := 5; else nstrt := 4 ; fi ; while nstrt in a or gcd(nstrt, op(-1, a)) < 2 do nstrt := nstrt+2 ; od ; a := [op(a), nstrt] ; od ; a ; end: A091780(80) ; - _# _R. J. Mathar_, Jul 26 2007

STATUS

approved

editing

#5 by N. J. A. Sloane at Thu Dec 05 19:56:45 EST 2013
AUTHOR

_Amarnath Murthy (amarnath_murthy(AT)yahoo.com), _, Feb 16 2004

Discussion
Thu Dec 05
19:56
OEIS Server: https://oeis.org/edit/global/2075
#4 by Russ Cox at Fri Mar 30 17:38:56 EDT 2012
MAPLE

A091780 := proc(nmax) local a, nstrt; a := [3] ; while nops(a) < nmax do if nops(a) mod 2 = 0 then nstrt := 5; else nstrt := 4 ; fi ; while nstrt in a or gcd(nstrt, op(-1, a)) < 2 do nstrt := nstrt+2 ; od ; a := [op(a), nstrt] ; od ; a ; end: A091780(80) ; - _R. J. Mathar (mathar(AT)strw.leidenuniv.nl), _, Jul 26 2007

EXTENSIONS

More terms from _R. J. Mathar (mathar(AT)strw.leidenuniv.nl), _, Jul 26 2007

Discussion
Fri Mar 30
17:38
OEIS Server: https://oeis.org/edit/global/190
#3 by N. J. A. Sloane at Sun Jun 29 03:00:00 EDT 2008
MAPLE

A091780 := proc(nmax) local a, nstrt; a := [3] ; while nops(a) < nmax do if nops(a) mod 2 = 0 then nstrt := 5; else nstrt := 4 ; fi ; while nstrt in a or gcd(nstrt, op(-1, a)) < 2 do nstrt := nstrt+2 ; od ; a := [op(a), nstrt] ; od ; a ; end: A091780(80) ; - Richard R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 26 2007

KEYWORD

nonn,new

nonn

EXTENSIONS

More terms from Richard R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 26 2007

#2 by N. J. A. Sloane at Sat Nov 10 03:00:00 EST 2007
DATA

3, 6, 9, 12, 15, 10, 5, 20, 25, 30, 21, 14, 7, 28, 35, 40, 45, 18, 27, 24, 33, 22, 11, 44, 55, 50, 65, 26, 13, 52, 39, 36, 51, 34, 17, 68, 85, 60, 57, 38, 19, 76, 95, 70, 49, 42, 63, 48, 69, 46, 23, 92, 115, 80, 75, 54, 81, 66, 77, 56, 91, 78, 87, 58, 29, 116, 145, 90, 93, 62

MAPLE

A091780 := proc(nmax) local a, nstrt; a := [3] ; while nops(a) < nmax do if nops(a) mod 2 = 0 then nstrt := 5; else nstrt := 4 ; fi ; while nstrt in a or gcd(nstrt, op(-1, a)) < 2 do nstrt := nstrt+2 ; od ; a := [op(a), nstrt] ; od ; a ; end: A091780(80) ; - Richard J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 26 2007

KEYWORD

more,nonn,new

nonn

EXTENSIONS

More terms from Richard J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 26 2007