Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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!)
A123129 a(n) = ( n + prime(n+1) - prime(n) )^(n-1). 1
1, 4, 25, 512, 2401, 100000, 531441, 35831808, 2562890625, 5159780352, 2015993900449, 17592186044416, 129746337890625, 20822964865671168, 3243919932521508681, 136880068015412051968, 288441413567621167681 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Sergio Silva, Teste Numerico.
FORMULA
a(n) = ( n + prime(n+1) - prime(n) )^(n-1) = ( n + A001223(n) )^(n-1).
From G. C. Greubel, Aug 04 2021: (Start)
a(n) = (A014690(n) - prime(n))^(n-1) = (A095116(n+1) - prime(n))^(n-1).
a(n) = (prime(n+1) - A014689(n))^(n-1). (End)
MATHEMATICA
Table[(n +Prime[n+1] -Prime[n])^(n-1), {n, 1, 30}] (* G. C. Greubel, Aug 04 2021 *)
PROG
(PARI) for(n=1, 25, print1( (prime(n+1) -prime(n) +n)^(n-1), ", "))
(Sage) [(n + nth_prime(n+1) - nth_prime(n))^(n-1) for n in (1..30)] # G. C. Greubel, Aug 04 2021
CROSSREFS
Sequence in context: A222902 A086216 A167041 * A075577 A004019 A302092
KEYWORD
nonn
AUTHOR
Herman Jamke (hermanjamke(AT)fastmail.fm), Sep 30 2006
STATUS
approved

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 July 18 18:59 EDT 2024. Contains 374388 sequences. (Running on oeis4.)