OFFSET
1,1
COMMENTS
For n > 96 a(n) = a(n-96) + 3029691210, the first 96 values are given in the table.
LINKS
Pierre CAMI, Table of n, a(n) for n = 1..96
FORMULA
For n > 96 a(n)=a(n-96) + 3029691210
PROG
(PFGW & SCRIPT)
SCRIPT
DIM k
DIM n, 73520701
OPENFILEOUT myf, a(n).txt
LABEL loop1
SET n, n+2
IF n>3103211981 THEN END
SET k, 0
LABEL loop2
SET k, k+1
IF k>300 THEN GOTO a
IF (n*2^k-1)%3==0 THEN GOTO loop2
IF (n*2^k-1)%5==0 THEN GOTO loop2
IF (n*2^k-1)%7==0 THEN GOTO loop2
IF (n*2^k-1)%13==0 THEN GOTO loop2
IF (n*2^k-1)%17==0 THEN GOTO loop2
IF (n*2^k-1)%97==0 THEN GOTO loop2
IF (n*2^k-1)%673==0 THEN GOTO loop2
GOTO loop1
LABEL a
WRITE myf, n
GOTO loop1
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Jul 08 2014
STATUS
approved