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

A028391 a(n) = n - floor(sqrt(n)).

Original entry on oeis.org

0, 0, 1, 2, 2, 3, 4, 5, 6, 6, 7, 8, 9, 10, 11, 12, 12, 13, 14, 15, 16, 17, 18, 19, 20, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65
Offset: 0

Views

Author

John Mellor (u15630(AT)snet.net)

Keywords

Comments

Number of nonsquares <= n.
Number of k <= n with an even number of divisors. - Benoit Cloitre, Sep 07 2002
Construct the pyramid
............a(0)
.......a(1).a(2).a(3)
..a(4).a(5).a(6).a(7).a(8).. etc.
Now circle all the primes and the result will be a pattern very similar to the famous Ulam spiral. - Sam Alexander, Nov 14 2003
The sequence floor(n-n^(1/2)) gives the same numbers with a different offset. - Mohammad K. Azarian, R. J. Mathar and M. F. Hasler, Apr 30 2008
The number of nonzero values of floor (j^2/n) taken over 1 <= j <= n-1.
a(n) = A173517(n) iff n is not a square. - Reinhard Zumkeller, Feb 20 2010
a(n) - a(n-1) = 0 if n is a square, otherwise 1. - Robert Israel, Dec 30 2014

References

  • B. Alspach, K. Heinrich and G. Liu, Orthogonal factorizations of graphs, pp. 13-40 of Contemporary Design Theory, ed. J. H. Dinizt and D. R. Stinson, Wiley, 1992 (see Theorem 2.7).

Crossrefs

Programs

Formula

a(n) = ceiling(n - sqrt(n)), as follows from ceiling(-x) = -floor(x). [Corrected by M. F. Hasler, Feb 21 2010]
a(n) = 2*n - A028392(n). - Reinhard Zumkeller, Oct 28 2012
G.f.: (1+x)/(2*(1-x)^2) - Theta3(0,x)/(2*(1-x)) where Theta3 is a Jacobi theta function. - Robert Israel, Dec 30 2014

Extensions

Edited by N. J. A. Sloane at the suggestion of R. J. Mathar, May 01 2008
Comment and cross-reference added by Christopher Hunt Gribble, Oct 13 2009
Formula corrected by M. F. Hasler, Feb 21 2010
More terms from Vladimir Joseph Stephan Orlovsky, Mar 29 2010

A135668 a(n) = ceiling(n + sqrt(n)).

Original entry on oeis.org

2, 4, 5, 6, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67
Offset: 1

Views

Author

Mohammad K. Azarian, Nov 25 2007

Keywords

Comments

Complement of A002061. - Kieren MacMillan, Dec 16 2007

Crossrefs

Programs

  • Magma
    [Ceiling(n + n^(1/2)): n in [1..100]]; // Vincenzo Librandi, Feb 16 2013
    
  • Mathematica
    Table[Ceiling[n + n^(1/2)], {n, 100}] (* Vincenzo Librandi, Feb 16 2013 *)
  • Python
    from sympy import integer_nthroot
    def A135668(n): return n+(a:=integer_nthroot(n,2))[0]+(not a[1]) # Chai Wah Wu, Aug 26 2024

A135671 a(n) = ceiling(n - n^(2/3)).

Original entry on oeis.org

0, 1, 1, 2, 3, 3, 4, 4, 5, 6, 7, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 15, 15, 16, 17, 18, 18, 19, 20, 21, 22, 22, 23, 24, 25, 26, 26, 27, 28, 29, 30, 30, 31, 32, 33, 34, 34, 35, 36, 37, 38, 39, 39, 40, 41, 42, 43, 44, 44, 45, 46
Offset: 1

Views

Author

Mohammad K. Azarian, Nov 25 2007

Keywords

Crossrefs

Programs

Extensions

Offset corrected by Mohammad K. Azarian, Nov 19 2008

A135672 a(n) = floor(n - n^(2/3)).

Original entry on oeis.org

0, 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9, 10, 11, 11, 12, 13, 14, 14, 15, 16, 17, 18, 18, 19, 20, 21, 21, 22, 23, 24, 25, 25, 26, 27, 28, 29, 29, 30, 31, 32, 33, 33, 34, 35, 36, 37, 38, 38, 39, 40, 41, 42, 43, 43, 44, 45
Offset: 1

Views

Author

Mohammad K. Azarian, Nov 25 2007

Keywords

Crossrefs

Programs

Extensions

Offset corrected by Mohammad K. Azarian, Nov 19 2008

A135673 Ceiling(n + n^(2/3)).

Original entry on oeis.org

2, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 18, 19, 20, 22, 23, 24, 25, 27, 28, 29, 30, 32, 33, 34, 35, 36, 38, 39, 40, 41, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 55, 56, 57, 58, 59, 61, 62, 63, 64, 65, 66, 68, 69, 70, 71, 72, 73, 75, 76, 77, 78, 79, 80, 82, 83
Offset: 1

Views

Author

Mohammad K. Azarian, Nov 25 2007

Keywords

Examples

			a(6) = 10; ceiling(6 + 6^(2/3)) = ceiling(9.30192...) = 10.
		

Crossrefs

Programs

Extensions

More terms from Wesley Ivan Hurt, Nov 01 2013

A135674 Floor(n+n^(2/3)).

Original entry on oeis.org

2, 3, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 18, 19, 21, 22, 23, 24, 26, 27, 28, 29, 31, 32, 33, 34, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 74
Offset: 1

Views

Author

Mohammad K. Azarian, Nov 25 2007

Keywords

Crossrefs

Programs

A135675 a(n) = ceiling(n^(4/3) - n).

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 7, 8, 10, 12, 14, 16, 18, 20, 22, 25, 27, 30, 32, 35, 37, 40, 43, 46, 49, 52, 54, 58, 61, 64, 67, 70, 73, 77, 80, 83, 87, 90, 94, 97, 101, 104, 108, 112, 116, 119, 123, 127, 131, 135, 139, 143, 147, 151, 155
Offset: 1

Views

Author

Mohammad K. Azarian, Dec 01 2007

Keywords

Crossrefs

Programs

Extensions

Offset corrected by Mohammad K. Azarian, Nov 19 2008

A135676 a(n) = floor(n^(4/3) - n).

Original entry on oeis.org

0, 0, 1, 2, 3, 4, 6, 8, 9, 11, 13, 15, 17, 19, 21, 24, 26, 29, 31, 34, 36, 39, 42, 45, 48, 51, 54, 57, 60, 63, 66, 69, 72, 76, 79, 82, 86, 89, 93, 96, 100, 103, 107, 111, 115, 118, 122, 126, 130, 134, 138, 142, 146, 150, 154, 158
Offset: 1

Views

Author

Mohammad K. Azarian, Dec 01 2007

Keywords

Crossrefs

Programs

Extensions

Offset corrected by Mohammad K. Azarian, Nov 19 2008

A135677 a(n) = ceiling(n^(4/3)+n).

Original entry on oeis.org

2, 5, 8, 11, 14, 17, 21, 24, 28, 32, 36, 40, 44, 48, 52, 57, 61, 66, 70, 75, 79, 84, 89, 94, 99, 104, 108, 114, 119, 124, 129, 134, 139, 145, 150, 155, 161, 166, 172, 177, 183, 188, 194, 200, 206, 211, 217, 223, 229, 235, 241
Offset: 1

Views

Author

Mohammad K. Azarian, Dec 01 2007

Keywords

Crossrefs

Programs

A135678 Floor(n^(4/3)+n).

Original entry on oeis.org

2, 4, 7, 10, 13, 16, 20, 24, 27, 31, 35, 39, 43, 47, 51, 56, 60, 65, 69, 74, 78, 83, 88, 93, 98, 103, 108, 113, 118, 123, 128, 133, 138, 144, 149, 154, 160, 165, 171, 176, 182, 187, 193, 199, 205, 210, 216, 222, 228, 234, 240
Offset: 1

Views

Author

Mohammad K. Azarian, Dec 01 2007

Keywords

Crossrefs

Programs

Showing 1-10 of 10 results.