proposed
approved
proposed
approved
editing
proposed
a(2*n+1) = n^2.
a(2*n) = 5*n^2 - 4*n + 1.
reviewed
editing
proposed
reviewed
editing
proposed
allocated for Derek OrrSequence of distinct least nonnegative numbers such that the average of the first n terms is a square.
0, 2, 1, 13, 4, 34, 9, 65, 16, 106, 25, 157, 36, 218, 49, 289, 64, 370, 81, 461, 100, 562, 121, 673, 144, 794, 169, 925, 196, 1066, 225, 1217, 256, 1378, 1514, 324, 1693, 361, 1882, 400, 2081, 441, 2290, 484, 2509, 529, 2738, 576, 2977, 625, 3226, 676, 3485, 729, 3754, 784, 4033, 841
1,2
a(2*n+1) = n^2.
a(2*n) = 5*n^2 - 4*n + 1.
(PARI) v=[]; n=0; while(n<10^4, num=(vecsum(v)+n); if(num%(#v+1)==0&&vecsearch(vecsort(v), n)==0, for(i=0, n, if(i^2>(num/(#v+1)), break); if(i^2==(num/(#v+1)), print1(n, ", "); v=concat(v, n); n=0; break))); n++)
Cf. A085047.
allocated
nonn
Derek Orr, Nov 05 2014
approved
editing
allocated for Derek Orr
recycled
allocated
editing
approved
Rene Peer
3, 4, 5, 7, 9, 10, 11, 14, 15, 44, 53, 55, 84, 91, 115, 137, 142, 203, 255, 261, 275, 283, 285, 293, 307, 319, 324, 459
1,1
For every a in the list p(a) is prime
a(n)=log(p-1155;2)
p(a)=1155+2^a
For a=3 the p(3)=1155+2^3=1163 solution is prime
Pari: {while(n<500, a=n-1; p=1155+2^a; if(isprime(p), print(a)); n=n+1)}
nonn,changed
recycled
Rene Peer, Jul 27 2014
proposed
editing
editing
proposed