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!)
A348569 a(n) = (prime(n) + prime(n+2))^2 + prime(n+1)^2. 0
58, 125, 305, 521, 953, 1313, 1961, 2833, 3757, 5317, 6553, 8081, 9593, 11425, 14045, 16477, 19597, 21913, 24641, 27829, 30577, 35113, 40321, 45509, 50201, 53873, 56393, 60281, 68465, 75665, 86857, 91669, 101117, 106301 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The square of the shortest distance between the start and end points of the path followed by a person moving 90 degrees left and right (or left and right) at the end of each path on a path of three consecutive prime numbers.
LINKS
FORMULA
a(n) = prime(n)^2 + prime(n+1)^2 + prime(n+2)^2 + 2*prime(n)*prime(n+2).
EXAMPLE
For n = 1 the a(1) = (prime(1) + prime(3))^2 + prime(2)^2 = (2 + 5)^2 + 3^2 = 49 + 9 = 58.
MATHEMATICA
Table[(Prime[n] + Prime[n + 2])^2 + Prime[n + 1]^2, {n, 34}]
CROSSREFS
Sequence in context: A044245 A044626 A039536 * A260132 A180571 A044309
KEYWORD
nonn,easy
AUTHOR
Burak Muslu, Oct 23 2021
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 August 31 11:47 EDT 2024. Contains 375560 sequences. (Running on oeis4.)