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”).

A193715
Positions of triangular numbers (A000217) in the union of squares and triangular numbers (A005214).
3
1, 2, 4, 6, 7, 9, 11, 12, 13, 15, 17, 18, 20, 22, 23, 25, 27, 29, 30, 32, 34, 35, 37, 39, 41, 42, 44, 46, 47, 49, 51, 52, 54, 56, 58, 59, 61, 63, 64, 66, 68, 70, 71, 73, 75, 76, 78, 80, 81, 82, 84, 86, 87, 89, 91, 92, 94, 96, 98, 99, 101, 103, 104, 106, 108
OFFSET
1,2
COMMENTS
A010054(A005214(a(n))) = 1.
LINKS
PROG
(Haskell)
import Data.List (elemIndex)
import Data.Maybe (fromJust)
a193715 n = a193715_list !! (n-1)
a193715_list =
map ((+ 1) . fromJust . (`elemIndex` a005214_list)) $ tail a000217_list
CROSSREFS
Cf. A193714.
Sequence in context: A052056 A356754 A187974 * A320474 A051533 A186151
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 03 2011
STATUS
approved