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.

A048861 a(n) = n^n - 1.

Original entry on oeis.org

0, 3, 26, 255, 3124, 46655, 823542, 16777215, 387420488, 9999999999, 285311670610, 8916100448255, 302875106592252, 11112006825558015, 437893890380859374, 18446744073709551615, 827240261886336764176, 39346408075296537575423, 1978419655660313589123978
Offset: 1

Views

Author

Charles T. Le (charlestle(AT)yahoo.com)

Keywords

Comments

From Alexander Adamchuk, Jan 22 2007: (Start)
a(n) is divisible by (n-1).
Corresponding quotients are a(n)/(n-1) = {1,3,13,85,781,9331, ...} = A023037(n).
p divides a(p-1) for prime p.
p divides a((p-1)/2) for prime p = {3,11,17,19,41,43,59,67,73,83,89,97,...} = A033200 Primes congruent to {1, 3} mod 8; or, odd primes of form x^2+2*y^2.
p divides a((p-1)/3) for prime p = {61,67,73,103,151,193,271,307,367,...} = A014753 3 and -3 are both cubes (one implies other) mod these primes p=1 mod 6.
p divides a((p-1)/4) for prime p = {5,13,17,29,37,41,53,61,73,...} = A002144 Pythagorean primes: primes of form 4n+1.
p divides a((p-1)/5) for prime p = {31,191,251,271,601,641,761,1091,...}.
p divides a((p-1)/6) for prime p = {7,241,313,337,409,439,607,631,727,751,919,937,...}. (End)
For n > 1, a(n) is largest number that can be represented using n digits in the base-n number system. - Chinmaya Dash, Mar 31 2022

Examples

			For n=3, a(n) = 3^3 - 1 = 27 - 1 = 26. - _Michael B. Porter_, Nov 12 2017
		

References

  • M. Le, Primes in the sequences n^n+1 and n^n-1, Smarandache Notions Journal, Vol. 10, No. 1-2-3, 1999, 156-157.

Crossrefs

Programs

Formula

E.g.f.: 1/(1+LambertW(-x)) - exp(x). - Vaclav Kotesovec, Dec 20 2014

Extensions

Extended (and corrected) by Patrick De Geest, Jul 15 1999

A098853 Consider the smallest denominator q such that the Sylvester expansion of n/q has n terms. Here q has the form q = k*n+1 and we set a(n) = k.

Original entry on oeis.org

0, 1, 2, 4, 6, 18, 36, 12, 30, 162, 18, 330, 136, 858, 1092, 198, 1470, 882, 9520, 13260, 124800, 1216, 33966, 603060, 27742, 2141898, 677586
Offset: 1

Views

Author

Matthijs Coster, Oct 11 2004

Keywords

Examples

			a(5)=6 because 5*6+1 = 31 and 5/31 = 1/7 + 1/55 + 1/3979 + 1/23744683 + 1/1127619917796295.
		

Crossrefs

Cf. A048860.

Programs

  • PARI
    a(n)=if(n==1,q=1,q=n+1;while(1,c=1;P=n;Q=q;while(Q%P>0,c++;D=Q\P+1;P=P*D-Q;Q*=D);if(c==n,break);q+=n));return((q-1)/n)

Formula

a(n) = (A048860(n)-1)/n.

Extensions

Two more terms computed from A048860 by Max Alekseyev, Mar 08 2010
a(20)-a(27) from Robert Gerbicz, Nov 19 2010
Showing 1-2 of 2 results.