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

A110567 a(n) = n^(n+1) + 1.

Original entry on oeis.org

1, 2, 9, 82, 1025, 15626, 279937, 5764802, 134217729, 3486784402, 100000000001, 3138428376722, 106993205379073, 3937376385699290, 155568095557812225, 6568408355712890626, 295147905179352825857, 14063084452067724991010
Offset: 0

Views

Author

Jonathan Vos Post, Sep 12 2005

Keywords

Comments

For n >= 2, a(n) = the n-th positive integer such that a(n) (base n) has a block of exactly n consecutive zeros.
Comments from Alexander Adamchuk, Nov 12 2006 (Start)
(2n+1)^2 divides a(2n). a(2n)/(2n+1)^2 = {1,1,41,5713,1657009,826446281,633095889817,691413758034721,...} = A081215(2n).
p divides a(p-1) for prime p. a(p-1)/p = {1,3,205,39991,9090909091,8230246567621,...} = A081209(p-1) = A076951(p-1).
p^2 divides a(p-1) for an odd prime p. a(p-1)/p^2 = {1,41,5713,826446281,633095889817,1021273028302258913,1961870762757168078553, 14199269001914612973017444081,...} = A081215(p-1).
Prime p divides a((p-3)/2) for p = {13,17,19,23,37,41,43,47,61,67,71,89, 109,113,137,139,157,163,167,181,191,...}.
Prime p divides a((p-5)/4) for p = {29,41,61,89,229,241,281,349,421,509,601,641,661,701,709,769,809,821,881,...} = A107218(n) Primes of the form 4x^2+25y^2.
Prime p divides a((p-7)/6) for p = {79,109,127,151,313,421,541,601,613,751,757,787,...}.
Prime p divides a((p-9)/8) for p = {41,337,401,521,569,577,601,857,929,937,953,977,...} A subset of A007519(n) Primes of form 8n+1.
Prime p divides a((p-11)/10) for p = {41,181,331,601,761,1021,1151,1231,1801,...}.
Prime p divides a((p-13)/12) for p = {313,337,433,1621,1873,1993,2161,2677,2833,...}. (End)

Examples

			Examples illustrating the Comment:
a(2) = 9 because the first positive integer (base 2) with a block of 2 consecutive zeros is 100 (base 2) = 4, and the 2nd is 1001 (base 2) = 9 = 1 + 2^3.
a(3) = 82 because the first positive integer (base 3) with a block of 3 consecutive zeros is 1000 (base 3) = 81, the 2nd is 2000 (base 3) = 54 and the 3rd is 10001 (base 3) = 82 = 1 + 3^4.
a(4) = 1025 because the first positive integer (base 4) with a block of 4 consecutive zeros is 10000 (base 4) = 256, the 2nd is 20000 (base 4) = 512, the 3rd is 30000 (base 4) = 768 and the 4th 100001 (base 4) = 1025 = 1 + 4^5. and the 2nd is 1001 (base 2) = 9 = 1 + 2^3.
		

Crossrefs

Cf. A007778: n^(n+1); A000312: n^n; A014566: Sierpinski numbers of the first kind: n^n + 1.

Programs

  • Magma
    [n^(n+1) + 1: n in [0..25]]; // G. C. Greubel, Oct 16 2017
  • Mathematica
    Table[n^(n+1)+1,{n,0,30}] (* Harvey P. Dale, Oct 30 2015 *)
  • PARI
    for(n=0,25, print1(1 + n^(n+1), ", ")) \\ G. C. Greubel, Aug 31 2017
    

Formula

a(n) = A007778(n) + 1.
a(n) = A110567(n) for n > 1. - Georg Fischer, Oct 20 2018

Extensions

Entry revised by N. J. A. Sloane, Oct 20 2018 at the suggestion of Georg Fischer.

A081215 a(n) = (n^(n+1)+(-1)^n)/(n+1)^2.

Original entry on oeis.org

1, 0, 1, 5, 41, 434, 5713, 90075, 1657009, 34867844, 826446281, 21794641505, 633095889817, 20088655029078, 691413758034721, 25657845139503479, 1021273028302258913, 43404581642184336392, 1961870762757168078553
Offset: 0

Views

Author

Vladeta Jovovic, Apr 17 2003

Keywords

Comments

From Mathew Englander, Oct 19 2020: (Start)
The sum of two adjacent terms of the sequence cannot be prime.
In base n, a(n) has n-1 digits, which are (beginning from the left): n-2, 2, n-4, 4, and so on, except that if n is even the rightmost digit is 1 instead of 0. In that case, the other digits form a palindrome with every even digit from 2 to n-2 appearing twice. For example, a(14) in base 14 is c2a486684a2c1. If n is odd, then all digits from 1 to n-1 occur exactly once. For example, a(15) in base 15 is d2b496785a3c1e.
For any positive integer k, any prime p, and any positive integer h such that h*p > 2, a(h*p^k - 2) == (-1)^h * (1 - 2^(h-1)) (mod p). For example, a(7*p^k - 2) == 63 (mod p); a(10*p^k - 2) == -511 (mod p).
Suppose k and m are positive integers. If k is even, then a(k*m) == 1, a(k*m+1) == 0, and a(k*m-1) == -1 (all mod m). If k is odd, then a(k*m) == (-1)^m and a(k*m+1) == ceiling(m/2) (both mod m), while a(k*m-1) == m/2 - 1 for m even, and a(k*m-1) == 1 for m odd (mod m).
For proofs of the above, see the Englander link. (End)

Crossrefs

Programs

  • Maple
    seq((j^(j+1)+(-1)^j)/(j+1)^2, j=0..50); # Robert Israel, May 19 2016
  • Mathematica
    Array[(#^(# + 1) + (-1)^#)/(# + 1)^2 &, 19, 0] (* Michael De Vlieger, Nov 13 2020 *)
  • PARI
    a(n) = (n^(n+1)+(-1)^n)/(n+1)^2; \\ Michel Marcus, Oct 20 2020

Formula

a(n) = (-1)^n + Sum_{k=1..n} (-1)^(k+1)*(n+1)^(n-k)*C(n+1,n+2-k). - Gionata Neri, May 19 2016
E.g.f.: (Ei(1,x) - Ei(1,-LambertW(-x)))/x. - Robert Israel, May 19 2016
For n > 1, a(n) = Sum_{k=1..floor(n/2)} (n^(n-2*k) * (2*k/n + n - 2*k)). - Mathew Englander, Oct 19 2020

A076951 Smallest k > 0 such that nk-1 is an n-th power, or 0 if no such number exists.

Original entry on oeis.org

1, 1, 3, 0, 205, 0, 39991, 0, 57, 5905, 9090909091, 0, 8230246567621, 0, 10371206370520815, 0, 17361641481138401521, 0, 37275544492386193492507, 0, 22706531343006, 0, 326583187044036098379401213863, 0, 45035996273705
Offset: 1

Views

Author

Amarnath Murthy, Oct 20 2002

Keywords

Comments

p divides a(p) for odd primes p. a(p) = A081209(p-1) = p*A081215(p-1) for odd primes p. a(p)/p = A081215(p-1) = {1,41,5713,826446281,633095889817,1021273028302258913,...} - Alexander Adamchuk, Nov 12 2006

Crossrefs

Extensions

More terms from Sascha Kurz, Jan 21 2003

A083062 a(n) = (n+1)^n/(n+2) - (-1)^n/(n+2).

Original entry on oeis.org

0, 1, 2, 13, 104, 1111, 14706, 233017, 4304672, 90909091, 2161452050, 57154490053, 1664148937320, 52914318216943, 1824557876586914, 67818912035696881, 2703399548648159360, 115047976828352449051, 5206367514895562076642, 249660952380952380952381
Offset: 0

Views

Author

Paul Barry, Apr 20 2003

Keywords

Crossrefs

Programs

  • Mathematica
    Table[(n+1)^n/(n+2)-(-1)^n/(n+2),{n,0,20}] (* Harvey P. Dale, Oct 08 2013 *)

A067712 Numbers n such that sum of exponents in prime factorization of n is > log(n).

Original entry on oeis.org

2, 4, 6, 8, 12, 16, 18, 20, 24, 32, 36, 40, 48, 54, 64, 72, 80, 96, 108, 112, 120, 128, 144, 160, 192, 216, 224, 240, 256, 288, 320, 324, 336, 352, 360, 384, 400, 432, 448, 480, 512, 576, 640, 648, 672, 704, 720, 768, 800, 832, 864, 896, 960, 972, 1008, 1024, 1056
Offset: 1

Views

Author

Leroy Quet, Feb 05 2002

Keywords

Examples

			a(1) = 2 because 2 has 1 prime factor, viz., 2 and log(2) ~= 0.693 and 1 > 0.693.
4 is included because sum of exponents in prime factorization of 4 is 2, which is > log(4).
		

References

  • Conway, John H. and Guy, Richard K., The Book of Numbers, Copernicus, 1996, pp. 132-133.
  • Ore, Oystein, Number Theory and Its History, McGraw-Hill, 1948, (also reprinted 1988), pp. 50-52.

Crossrefs

Programs

  • Mathematica
    Select[Range[2,1100],Total[FactorInteger[#][[All,2]]]>Log[#]&] (* Harvey P. Dale, Feb 04 2019 *)

Formula

OMEGA(n) > log(n), where OMEGA is the total number of prime factors.

Extensions

More terms from Walter Nissen, Mar 10 2003

A083063 a(n) = (n+1)^(n-1)/(n+2) + (-1)^n/(n+2).

Original entry on oeis.org

1, 0, 1, 3, 21, 185, 2101, 29127, 478297, 9090909, 196495641, 4762874171, 128011456717, 3779594158353, 121637191772461, 4238682002231055, 159023502861656433, 6391554268241802725, 274019342889240109297
Offset: 0

Views

Author

Paul Barry, Apr 20 2003

Keywords

Crossrefs

Programs

  • Sage
    [abs(gaussian_binomial(n,1,-(n+2))) for n in range(-1,18)] # Zerinvary Lajos, May 31 2009
Showing 1-6 of 6 results.