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.

A227240 Numbers k such that sigma(k) divides sigma(2*k) and sigma(2*k + 1).

Original entry on oeis.org

1, 3, 5, 7, 11, 23, 29, 41, 53, 77, 83, 89, 103, 113, 131, 143, 173, 179, 191, 233, 239, 251, 281, 293, 359, 419, 431, 443, 491, 509, 533, 593, 641, 653, 659, 667, 683, 719, 743, 761, 807, 809, 817, 911, 953, 1013, 1019, 1031, 1049, 1073, 1103, 1223, 1229, 1289, 1409
Offset: 1

Views

Author

Alex Ratushnyak, Jul 03 2013

Keywords

Comments

Numbers such that 2*k and/or 2*k + 1 is also in the sequence: 1, 3, 5, 11, 41, 89, 179, 359, 509, 719, 743, ... (Cf. A007700).

Crossrefs

Programs

  • Mathematica
    Select[Range[1000], IntegerQ[DivisorSigma[1, 2#]/DivisorSigma[1, #]] && IntegerQ[DivisorSigma[1, 2# + 1]/DivisorSigma[1, #]] &] (* Alonso del Arte, Jul 15 2013 *)
    Select[Range[1500],And@@Divisible[{DivisorSigma[1,2#],DivisorSigma[1,2#+1]}, DivisorSigma[1,#]]&] (* Harvey P. Dale, Feb 25 2016 *)
  • PARI
    isok(n) = my(sn=sigma(n)); !(sigma(2*n) % sn) && !(sigma(2*n+1) % sn); \\ Michel Marcus, Oct 02 2017