Consider the line segment in R^n from the origin to the point v=(2,3,5,7,11,...) with prime coordinates; let d = squared distance to this line from the closest point of Z^n (excluding the endpoints). Sequence gives d times v.v.
A059804
Consider the line segment in R^n from the origin to the point v=(2,3,5,7,11,...) with prime coordinates; let d = squared distance to this line from the closest point of Z^n (excluding the endpoints). Sequence gives d times v.v.
Terms
- a(0) =1a(1) =3a(2) =9a(3) =39a(4) =87a(5) =215a(6) =391a(7) =711a(8) =1326a(9) =1975a(10) =2925a(11) =4256a(12) =5696a(13) =7537a(14) =9774a(15) =12488a(16) =16322a(17) =20477a(18) =24966a(19) =30007a(20) =35336a(21) =41577a(22) =48466a(23) =56387a(24) =65796a(25) =75997a(26) =86606a(27) =98055a(28) =109936a(29) =122705
External references
- oeis: A059804