login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A249856 Let z = A084937: a(n) = number of odd numbers <= z(n) that are != z(k) for k=1..n-1 and not coprime to z(n-1) and z(n-2). 7
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 2, 0, 0, 0, 0, 0, 1, 0, 1, 2, 0, 2, 3, 0, 0, 2, 0, 1, 2, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 2, 4, 0, 2, 3, 0, 0, 4, 0, 0, 2, 0, 0, 2, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,19

COMMENTS

a(n) = A249777(n) - A249857(n).

LINKS

Table of n, a(n) for n=1..86.

PROG

(Haskell)

a249856 = sum . map (flip mod 2) . (uss !!)

uss = [] : [] : [] : f 2 1 [3..] where

   f x y zs = g zs [] where

      g (v:vs) ws | gcd v y > 1 || gcd v x > 1 = g vs (v : ws)

                  | otherwise = ws : f v x (delete v zs)

CROSSREFS

Cf. A084937, A249777, A249857, A249858.

For a different way to look at the missing numbers in A084937, see A249686, A250099, A250100.

Sequence in context: A122180 A033772 A086015 * A086012 A248394 A127268

Adjacent sequences:  A249853 A249854 A249855 * A249857 A249858 A249859

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Nov 09 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 16:40 EDT 2019. Contains 322282 sequences. (Running on oeis4.)