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.

Showing 1-3 of 3 results.

A317047 Numbers k such that both k and k + 1 are deficient.

Original entry on oeis.org

1, 2, 3, 4, 7, 8, 9, 10, 13, 14, 15, 16, 21, 22, 25, 26, 31, 32, 33, 34, 37, 38, 43, 44, 45, 46, 49, 50, 51, 52, 57, 58, 61, 62, 63, 64, 67, 68, 73, 74, 75, 76, 81, 82, 85, 86, 91, 92, 93, 94, 97, 98, 105, 106, 109, 110, 115, 116, 117, 118, 121, 122, 123
Offset: 1

Views

Author

Muniru A Asiru, Aug 04 2018

Keywords

Crossrefs

Subsequence of A005100.
Numbers j such that both k and k + j are consecutive deficient numbers: this sequence (j=1), A317048 (j=2), A317049 (j=3).

Programs

  • GAP
    A:=Filtered([1..200],k->Sigma(k)<2*k);;
    a:=List(Filtered([1..Length(A)-1],i->A[i+1]-A[i]=1),j->A[j]);
    
  • Maple
    A:=select(k->sigma(k)<2*k,[$1..200]): a:=seq(A[i],i in select(n->A[n+1]-A[n]=1,[$1..nops(A)-1]));
  • PARI
    isok(n) = (sigma(n) < 2*n) && (sigma(n+1) < 2*(n+1)); \\ Michel Marcus, Aug 20 2018

A317048 Numbers k such that both k and k + 2 are consecutive deficient numbers.

Original entry on oeis.org

5, 11, 17, 19, 23, 27, 29, 35, 39, 41, 47, 53, 55, 59, 65, 69, 71, 77, 79, 83, 87, 89, 95, 99, 101, 103, 107, 111, 113, 119, 125, 131, 137, 139, 143, 149, 155, 159, 161, 167, 173, 175, 179, 185, 191, 195, 197, 199, 203, 207, 209, 215, 219, 221, 223, 227, 233
Offset: 1

Views

Author

Muniru A Asiru, Aug 04 2018

Keywords

Crossrefs

Subsequence of A005100.
Numbers j such that both k and k + j are consecutive deficient numbers: A317047 (j=1), this sequence (j=2), A317049 (j=3).

Programs

  • GAP
    A:=Filtered([1..300],k->Sigma(k)<2*k);;
    a:=List(Filtered([1..Length(A)-1],i->A[i+1]-A[i]=2),j->A[j]);
  • Maple
    with(numtheory):  A:=select(k->sigma(k)<2*k,[$1..300]):
    a:=seq(A[i],i in select(k->A[k+1]-A[k]=2,[$1..nops(A)-1]));

A317046 Numbers k such that A(k+1) = A(k) + 3, where A() = A005100() are the deficient numbers.

Original entry on oeis.org

4340, 4494, 5572, 8278, 16351, 16506, 19666, 20614, 29619, 32386, 37349, 42805, 44134, 46183, 52345, 53222, 57553, 58033, 59930, 60966, 61412, 61657, 63553, 63643, 67509, 68925, 73829, 77801, 78888, 80309, 82269, 84099, 87737, 87892, 90270, 91697, 91966
Offset: 1

Views

Author

Muniru A Asiru, Aug 04 2018

Keywords

Crossrefs

A317049 is the main sequence for this entry.
Numbers k such that A(k+1) = A(k) + j, where A() = A005100() are the deficient numbers: A317044 (j=1), A317045 (j=2), this sequence (j=3).

Programs

  • GAP
    A:=Filtered([1..130000],k->Sigma(k)<2*k);;  a:=Filtered([1..Length(A)-1],i->A[i+1]=A[i]+3);
  • Maple
    with(numtheory): A:=select(k->sigma(n)<2*k,[$1..130000]):
    a:=select(j->A[j+1]=A[j]+3,[$1..nops(A)-1]);
  • Mathematica
    Position[Differences[Select[Range[125000], DivisorSigma[1, #] < 2*# &]], 3] // Flatten (* Amiram Eldar, Mar 15 2024 *)

Formula

Sequence is { k | A005100(k+1) = A005101(k) + 3 }.
Sequence is { k | A125238(k) = 3 }.
Showing 1-3 of 3 results.