OFFSET
1,1
COMMENTS
FORMULA
EXAMPLE
a(1) = 2 because 4 - 2 = 2 where 4 and 2 are tetranacci numbers.
a(2) = 3 because 4 - 1 = 3 where 4 and 1 are tetranacci numbers.
a(3) = 7 because 8 - 1 = 7 where 8 and 1 are tetranacci numbers.
a(4) = 11 because 15 - 4 = 11 where 15 and 4 are tetranacci numbers.
a(5) = 13 because 15 - 2 = 13 where 15 and 2 are tetranacci numbers.
MAPLE
isA113244 := proc(n)
isprime(n) and isA113243(n) ;
end proc:
for n from 1 do
p := ithprime(n) ;
if isA113244(p) then
printf("%d\n", p) ;
end if;
end do: # R. J. Mathar, Oct 04 2014
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Oct 19 2005; corrected Oct 20 2005
EXTENSIONS
281081 inserted by R. J. Mathar, Oct 04 2014
STATUS
approved