OFFSET
1,1
COMMENTS
In other words, the next term in A166133 after n is as large as it can be. Terms are listed in order of appearance in A166133.
With the exception of the initial 3, the terms appear to be a (permuted) subset of A014574; i.e. the divisors of a(n)^2-1 are 1, a(n)-1, a(n)+1, and a(n)^2-1. - Hans Havermann, Apr 03 2015
See the "blog" file in A166133 for discussion.
LINKS
Hans Havermann and John Mason, Table of n, a(n) for n = 1..6575 [Terms 1 through 480 were computed by Hans Havermann; terms 481 through 6575 by John Mason, Apr 05 2015]
PROG
(Haskell)
a256406 n = a256406_list !! (n-1)
a256406_list = f a166133_list where
f (u:vs'@(v:ws)) | u > v || v /= u ^ 2 - 1 = f vs'
| otherwise = u : f ws
-- Reinhard Zumkeller, Apr 01 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved