OFFSET
1,1
EXAMPLE
a(1)=6 because Diophantine 2x+3y=2^3+3^3 has 6 positive solutions {x,y}:
{1, 11}, {4, 9}, {7, 7}, {10, 5}, {13, 3}, {16, 1};
a(2)=10 because Diophantine 3x+5y=3^3+5^3 has 10 positive solutions {x, y}:
{4, 28}, {9, 25}, {14, 22}, {19, 19}, {24, 16}, {29, 13}, {34, 10}, {39, 7}, {44, 4}, {49, 1};
a(3)=13 because Diophantine 5x+7y=5^3+7^3 has 13 positive solutions {x, y}:
{4, 64}, {11, 59}, {18, 54}, {25, 49}, {32, 44}, {39, 39}, {46, 34}, {53, 29}, {60, 24}, {67, 19}, {74, 14}, {81, 9}, {88, 4}.
MATHEMATICA
Table[With[{p=Prime[n], q=Prime[n+1]}, Floor[q^2/p]+Floor[p^2/q]+1], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Feb 26 2008
STATUS
approved