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!)
A085925 a(n) is taken to be the smallest positive integer greater than a(n-1) which is consistent with the condition "n is a member of the sequence if and only if a(n) is not prime". 2
1, 3, 4, 6, 7, 8, 9, 10, 12, 14, 17, 18, 19, 20, 23, 29, 30, 32, 33, 34, 37, 41, 42, 43, 47, 53, 59, 61, 62, 63, 67, 68, 69, 70, 71, 73, 74, 79, 83, 89, 90, 91, 92, 97, 101, 103, 104, 107, 109, 113, 127, 131, 132, 137, 139, 149, 151, 157, 158, 163, 164, 165, 166, 167, 173 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(4) = 6 because 4 is in the sequence and 6 is the next nonprime after a(3). a(5) = 7 because 5 is not in the sequence and 7 is the next prime after a(4).
CROSSREFS
Sequence in context: A004712 A122409 A039093 * A107907 A080804 A164386
KEYWORD
easy,nonn,less
AUTHOR
David Wasserman, Aug 16 2003
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 April 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)