[go: up one dir, main page]

login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
Search: a127837 -id:a127837
Displaying 1-4 of 4 results found. page 1
     Sort: relevance | references | number | modified | created      Format: long | short | data
A060073 a(n) = (n^(n-1)-1)/(n-1)^2. +10
12
1, 2, 7, 39, 311, 3268, 42799, 672605, 12345679, 259374246, 6140565047, 161792257795, 4696537119847, 148943500129544, 5124095576030431, 190082780764323705, 7563707819165039903, 321380710796022350410, 14523213296398891966759, 695546073617378871592991 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
COMMENTS
Written in base n, a(n) has n-2 digits and looks like 12345... except that the final digit is n-1 rather than n-2.
Note that 2^m-1 divides a(m+1) = ((m+1)^m-1)/m^2 if and only if m = 2^k-1 with gcd(k,m) = 1. Mersenne numbers M = 2^p-1 such that a(M+1)/(2^M-1) is prime are Mersenne primes 2^3-1 = 7 and 2^7-1 = 127. - Thomas Ordowski, Sep 19 2021
LINKS
FORMULA
a(n) = A037205(n-1)/(n-1)^2 = A060072(n)/(n-1) = A058128(n)/n = A059522(n)/A000142(n).
EXAMPLE
a(10) = 999999999/81 = 111111111/9 = 12345679.
MATHEMATICA
Table[(n^(n - 1) - 1)/(n - 1)^2, {n, 2, 20}] (* Michael De Vlieger, Oct 28 2021 *)
PROG
(PARI) { for (n=2, 200, write("b060073.txt", n, " ", (n^(n - 1) - 1)/(n - 1)^2); ) } \\ Harry J. Smith, Jul 01 2009
CROSSREFS
Cf. A000142, A037205, A058128, A059522, A060072, A127837 (numbers p such that a(p+1) is prime).
KEYWORD
nonn
AUTHOR
Henry Bottomley, Feb 21 2001
STATUS
approved
A128466 Primes of the form ((k+1)^k - 1)/k^2 = A060073(k+1). +10
4
2, 7, 311, 7563707819165039903 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Corresponding numbers k are listed in A127837.
Terms are the primes in A060073.
Next term has 15850 = 1 + floor((4357*log(4358) - 2*log(4357))/log(10)) digits and is too large to include. - M. F. Hasler, May 22 2007
LINKS
FORMULA
a(n) = ((A127837(n) + 1)^A127837(n) - 1) / A127837(n)^2.
MATHEMATICA
Select[Table[((n+1)^n-1)/n^2, {n, 500}], PrimeQ] (* Harvey P. Dale, Apr 30 2011 *)
PROG
(PARI) A128466(n)=A060073(A127837(n)+1) /* see there. --- or: */ forprime(p=1, 10^5, if(ispseudoprime(n=((p+1)^p-1)/p^2), print1(n, ", "))); \\ M. F. Hasler, May 22 2007
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Mar 09 2007
STATUS
approved
A137666 Largest prime factor of A137664(n) = (p + 1)^p - 1 for p = prime(n). +10
3
2, 7, 311, 337, 266981089, 29914249171, 7563707819165039903, 192696104561, 58769065453824529, 847499019384726257346113954958447091, 18158209813151, 138233050898929517126243814850350442620694127 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) is also the largest prime factor of A137665(n) = A137664(n)/prime(n)^2. p^2 divides A137664(n) = (p + 1)^p - 1, p = prime(n). Least prime factors of A137664(n) are listed in A128456.
a(n) = A128456(n) = A137665(n) = ((p + 1)^p - 1)/p^2 for n = {1,2,3,7,595,...} corresponding to p = prime(n) = {2,3,5,17,4357,...} = A127837.
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 1..26
MATHEMATICA
FactorInteger[#][[-1, 1]]&/@((#+1)^#-1&/@Prime[Range[12]]) (* Harvey P. Dale, Apr 07 2018 *)
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Alexander Adamchuk, Feb 04 2008
STATUS
approved
A137665 Quotients ((p+1)^p - 1)/p^2 for p = prime(n). +10
2
2, 7, 311, 42799, 6140565047, 4696537119847, 7563707819165039903, 14523213296398891966759, 105051652240885643072548950287, 8160568057655529131985731272294887039239, 47525417447024678661670292427038339608998847, 20681861558186805237407813095538883147812221153173966103 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
p^2 divides a(n) = (p+1)^p - 1, p = prime(n). (p+1)^p - 1 = A137664(n) = {8, 63, 7775, 2097151, 743008370687, 793714773254143, 2185911559738696531967, ...}.
Least prime factors of a(n) are listed in A128456(n) = {2, 7, 311, 127, 23, 157, 7563707819165039903, ...}.
Largest prime factors a(n) are listed in A137666.
a(n) is prime for n = {1, 2, 3, 7, 595, ...} corresponding to p = prime(n) = {2, 3, 5, 17, 4357, ...} = A127837.
Primes in this sequence are A128466.
LINKS
FORMULA
a(n) = ((prime(n) + 1)^prime(n) - 1)/prime(n)^2;
a(n) = A137664(n)/prime(n)^2.
MATHEMATICA
Table[ ((Prime[n] + 1)^Prime[n] - 1)/Prime[n]^2, {n, 1, 15} ]
PROG
(PARI) a(n) = my(p=prime(n)); polcyclo(p, p+1)/p \\ Hugo Pfoertner, Jul 21 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Feb 04 2008
STATUS
approved
page 1

Search completed in 0.006 seconds

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 29 09:16 EDT 2024. Contains 375511 sequences. (Running on oeis4.)