OFFSET
1,3
COMMENTS
Last term is probably 5153, since all numbers from 5154 to 5*10^5 do not belong to the sequence. - Giovanni Resta, Apr 07 2013
LINKS
PROG
(PARI) is(n)=n=n!; while(n>5039, my(e=valuation(n, 2), e1=valuation((n>>=e)+1, 2)); n>>=e1; if(e>3 && e1==2 && bitand(n, 127)==78, return(0))); 1 \\ Charles R Greathouse IV, Apr 07 2013
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Reinhard Zumkeller, Feb 12 2005
STATUS
approved