login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A193714
Positions of squares (A000290) in the union of squares and triangular numbers (A005214).
3
1, 3, 5, 8, 10, 12, 14, 16, 19, 21, 24, 26, 28, 31, 33, 36, 38, 40, 43, 45, 48, 50, 53, 55, 57, 60, 62, 65, 67, 69, 72, 74, 77, 79, 81, 83, 85, 88, 90, 93, 95, 97, 100, 102, 105, 107, 109, 112, 114, 117, 119, 122, 124, 126, 129, 131, 134, 136, 138, 141, 143
OFFSET
1,2
COMMENTS
A010052(A005214(a(n))) = 1.
LINKS
PROG
(Haskell)
import Data.List (elemIndex)
import Data.Maybe (fromJust)
a193714 n = a193714_list !! (n-1)
a193714_list =
map ((+ 1) . fromJust . (`elemIndex` a005214_list)) $ tail a000290_list
CROSSREFS
Cf. A193715.
Sequence in context: A138829 A003265 A360394 * A184584 A342871 A191160
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 03 2011
STATUS
approved