Code Below:
import java.util.*;
class PellSeries
{
public static void main()
{
Scanner s= new Scanner(System.in);
int A[]=new int[15];
int i;
A[0]=0;
A[1]=1;
for (i=2;i< 15;i++)
{
A[i]=2*A[i-1]+A[i-2];
}
for (i=0;i< 15;i++)
{
System.out.print(A[i]+",");
}
}
}