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.

A196748 Numbers n such that 3 and 5 do not divide swing(n) = A056040(n).

Original entry on oeis.org

0, 1, 2, 20, 24, 54, 60, 61, 62, 72, 73, 74, 504, 510, 511, 512, 560, 564, 1512, 1513, 1514, 1520, 1620, 1621, 1622, 6320, 6324, 6372, 6373, 6374, 6500, 6504, 6552, 6553, 6554, 6560, 13122, 13123, 13124, 13770, 13771, 13772, 13824, 13850, 15072, 15073, 15074
Offset: 1

Views

Author

Peter Luschny, Oct 06 2011

Keywords

Crossrefs

Programs

  • Maple
    # The function Search is defined in A196747.
    A196748_list := n -> Search(n,[3,5]):  # n is a search limit
  • Mathematica
    (* A naive solution *) sf[n_] := n!/Quotient[n, 2]!^2; Select[Range[0, 16000], !Divisible[sf[#], 3] && !Divisible[sf[#], 5] &] (* Jean-François Alcover, Jun 28 2013 *)
  • PARI
    valp(n,p)=my(s); while(n\=p, s+=n); s
    is(n)=valp(n,3)==2*valp(n\2,3) && valp(n,5)==2*valp(n\2,5) \\ Charles R Greathouse IV, Feb 02 2016

A196749 Numbers n such that 3, 5 and 7 do not divide swing(n) = A056040(n).

Original entry on oeis.org

0, 1, 2, 20, 1512, 1513, 1514, 6320, 6372, 6373, 6374, 6500, 15120, 15121, 15122, 15302, 40014, 119096754, 119096802, 91547225622, 91550794374
Offset: 1

Views

Author

Peter Luschny, Oct 06 2011

Keywords

Crossrefs

Programs

  • Maple
    # The function Search is defined in A196747.
    A196749_list := n -> Search(n,[3,5,7]):  # n is a search limit
  • PARI
    valp(n,p)=my(s); while(n\=p, s+=n); s
    is(n)=valp(n,3)==2*valp(n\2,3) && valp(n,5)==2*valp(n\2,5) && valp(n,7)==2*valp(n\2,7) \\ Charles R Greathouse IV, Feb 02 2016

A196750 Numbers n such that 3, 5, 7 and 11 do not divide swing(n) = A056040(n).

Original entry on oeis.org

0, 1, 2, 6320
Offset: 1

Views

Author

Peter Luschny, Oct 06 2011

Keywords

Comments

It is conjectured that there are no other terms.

Crossrefs

Programs

  • Maple
    # The function Search is defined in A196747.
    A196750_list := n -> Search(n,[3,5,7,11]):  # n is a search limit
  • PARI
    valp(n,p)=my(s); while(n\=p, s+=n); s
    is(n)=valp(n,3)==2*valp(n\2,3) && valp(n,5)==2*valp(n\2,5) && valp(n,7)==2*valp(n\2,7) && valp(n,11)==2*valp(n\2,11) \\ Charles R Greathouse IV, Feb 02 2016
Showing 1-3 of 3 results.