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!)
A171240 a(n) = n^d+d^n where d = A013632(n) is the distance to the next prime. 0
2, 3, 17, 5, 57, 7, 18785, 7073, 593, 11, 2169, 13, 67137425, 4785713, 32993, 17, 131361, 19, 274878037265, 3486792401, 2097593, 23, 789730223201638705, 59604644783353249, 1125899907233249, 2541865845905, 134218457, 29, 536871753, 31 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
dnp[n_]:=Module[{d=NextPrime[n]-n}, n^d+d^n]; Array[dnp, 20](* Harvey P. Dale, Jun 23 2017 *)
CROSSREFS
Sequence in context: A140383 A029913 A073125 * A078201 A361104 A090913
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition and some values corrected - R. J. Mathar, Jun 04 2010
More terms from Harvey P. Dale, Jun 23 2017
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 April 23 19:56 EDT 2024. Contains 371916 sequences. (Running on oeis4.)