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

%I #5 Mar 30 2012 17:38:03

%S 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,

%T 53,59,61,62,63,67,68,69,70,71,73,74,79,83,89,90,91,92,97,101,103,104,

%U 107,109,113,127,131,132,137,139,149,151,157,158,163,164,165,166,167,173

%N 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".

%e 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).

%Y Cf. A079000, A079254.

%K easy,nonn,less

%O 1,2

%A _David Wasserman_, Aug 16 2003

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 30 20:43 EDT 2024. Contains 372141 sequences. (Running on oeis4.)