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!)
A073897 a(1) = 1, a(n) = smallest odd or even number not occurring earlier according as n is prime or composite. 2
1, 3, 5, 2, 7, 4, 9, 6, 8, 10, 11, 12, 13, 14, 16, 18, 15, 20, 17, 22, 24, 26, 19, 28, 30, 32, 34, 36, 21, 38, 23, 40, 42, 44, 46, 48, 25, 50, 52, 54, 27, 56, 29, 58, 60, 62, 31, 64, 66, 68, 70, 72, 33, 74, 76, 78, 80, 82, 35, 84, 37, 86, 88, 90, 92, 94, 39 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
CROSSREFS
Cf. A073898.
Sequence in context: A227988 A182813 A334627 * A237058 A285297 A097465
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 18 2002
EXTENSIONS
More terms from Alois P. Heinz, Oct 29 2015
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 28 03:27 EDT 2024. Contains 375477 sequences. (Running on oeis4.)