OFFSET
1,5
COMMENTS
f(n)=<+>_{0<=i<=n} c(i) is defined as the following: f(0)=c(0), f(n)=f(n-1)<+>c(n).
a(n)=0 for 1,2,3,4,8,82,107,...(cf. A258194)
LINKS
Peter J. C. Moses, Table of n, a(n) for n = 1..1000
MATHEMATICA
vSum[a_, b_]:=#[#[a]+#[b]]&[#/2^IntegerExponent[#, 2]&];
Table[
First[Select[FoldList[vSum, First[#], Rest[#]]&[Map[Binomial[n, #]&, Range[0, n]]], PrimeQ]/.{}->{0}], {n, 100}] (*Peter J. C. Moses, May 23 2015*)
PROG
(Haskell)
import Data.Function (on)
a258193 n = head $ (filter ((== 1) . a010051'') $
scanl1 (<+>) (a034868_row n)) ++ [0]
where (<+>) = (a000265 .) . on (+) a000265
-- Reinhard Zumkeller, Jun 20 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, May 23 2015
EXTENSIONS
More terms from Peter J. C. Moses, May 23 2015
STATUS
approved