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-2 of 2 results.

A248837 Number of length n arrays x(i), i=1..n with x(i) in 0..i and no value appearing more than 3 times.

Original entry on oeis.org

2, 6, 24, 118, 686, 4598, 34872, 295044, 2753958, 28103804, 311216626, 3716341042, 47597786154, 650812077852, 9461423560788, 145724617925326, 2370293673319292, 40600119927220706, 730458115445479734, 13772063820971722638
Offset: 1

Views

Author

R. H. Hardin, Oct 15 2014

Keywords

Comments

Column 3 of A248842.
Essentially the same as A135106. - Georg Fischer, Oct 23 2018

Examples

			Some solutions for n=6
..0....1....0....1....0....0....1....1....1....0....0....0....0....0....0....1
..2....1....0....2....1....1....1....1....1....1....1....0....0....0....1....1
..2....0....0....0....1....1....2....2....0....3....0....2....3....3....2....2
..1....0....3....0....0....1....4....4....1....0....1....1....2....4....4....1
..5....0....2....2....3....4....5....2....2....4....4....0....1....0....5....5
..3....5....3....1....5....2....5....2....5....0....2....5....0....2....0....6
		

A204330 a(n) is the number of k satisfying 1 <= k <= n and such that floor(sqrt(k)) divides k.

Original entry on oeis.org

1, 2, 3, 4, 4, 5, 5, 6, 7, 7, 7, 8, 8, 8, 9, 10, 10, 10, 10, 11, 11, 11, 11, 12, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 15, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 18, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 21, 22, 22, 22, 22, 22, 22, 22
Offset: 1

Views

Author

Benoit Cloitre, Jan 14 2012

Keywords

Comments

a(n) = floor(2*sqrt(n)) + floor(sqrt(n-1)) - 1 if n belongs to A135106 otherwise a(n) = floor(2*sqrt(n)) + floor(sqrt(n-1)) - 2.

Crossrefs

Programs

  • Mathematica
    Accumulate[Boole[Table[IntegerQ[n/Floor[n^(1/2)]], {n, 1, 70}]]]  (* Geoffrey Critzer, May 25 2013 *)
  • PARI
    a(n)=sum(k=1,n,if(k%sqrtint(k),0,1));

Formula

a(n) = card{j>=1, A006446(j)<=n}.

Extensions

Corrected by Geoffrey Critzer, May 25 2013
Showing 1-2 of 2 results.