|
|
A255437
|
|
In positive integers: replace k^2 with the first k odd numbers.
|
|
10
|
|
|
1, 2, 3, 1, 3, 5, 6, 7, 8, 1, 3, 5, 10, 11, 12, 13, 14, 15, 1, 3, 5, 7, 17, 18, 19, 20, 21, 22, 23, 24, 1, 3, 5, 7, 9, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 1, 3, 5, 7, 9, 11, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 1, 3, 5, 7, 9, 11, 13, 50, 51
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
conjecture: a(A068722(n)) = (2*n+1)^2, i.e. A068722(n) = gives the position of the first occurrence of n-th odd square;
|
|
LINKS
|
|
|
EXAMPLE
|
. A000027 | _,2,3,___,5,6,7,8,_____,10,11,12,13,14,15,_______,17,18,...
. A158405 | 1, 1,3, 1,3,5, 1,3,5,7,
. --------+-------------------------------------------------------------
. a(n) | 1,2,3,1,3,5,6,7,8,1,3,5,10,11,12,13,14,15,1,3,5,7,17,18,19 .
|
|
PROG
|
a255437 n = a255437_list !! (n-1)
a255437_list = f 0 [1..] a158405_tabl where
f k xs (zs:zss) = us ++ zs ++ f (k + 2) vs zss
where (us, v:vs) = splitAt k xs
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|