cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A053869 Sum of divisors of n less than n is even.

Original entry on oeis.org

1, 6, 9, 10, 12, 14, 20, 22, 24, 25, 26, 28, 30, 34, 38, 40, 42, 44, 46, 48, 49, 52, 54, 56, 58, 60, 62, 66, 68, 70, 74, 76, 78, 80, 81, 82, 84, 86, 88, 90, 92, 94, 96, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 121, 122, 124, 126, 130, 132, 134, 136, 138, 140
Offset: 1

Views

Author

Henry Bottomley, Mar 29 2000

Keywords

Comments

Numbers which if odd are squares and which if even are neither squares nor twice squares.
Numbers whose sum of proper divisors is even. - Omar E. Pol, Aug 14 2009

Crossrefs

Programs

  • Haskell
    a053869 n = a053869_list !! (n-1)
    a053869_list = filter (even . a001065) [1..]
    -- Reinhard Zumkeller, Nov 01 2015, Sep 15 2011
    a053869_list = map (+ 1) $ findIndices even $ map a001065 [1..]
    -- Reinhard Zumkeller, Sep 15 2011
    
  • PARI
    is(n)=if(n%2,issquare(n), !issquare(n) && !issquare(n/2)) \\ Charles R Greathouse IV, Sep 27 2015

Formula

a(n) = 2n + 2*sqrt(n) + O(1). - Charles R Greathouse IV, Sep 27 2015

Extensions

Offset fixed by Reinhard Zumkeller, Sep 15 2011