The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A256434 Characteristic function of icosahedral numbers. 2
1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0
COMMENTS
Icosahedral numbers are of the form m*(5*m^2 - 5*m + 2)/2.
LINKS
FORMULA
For n > 0, a(n) = floor(t(n) - 1/(45 * t(n)) + 1/3) - floor(t(n-1) - 1/(45 * t(n-1)) + 1/3), where t(n) = ( sqrt(135*n^2-40*n+3)/(15^(3/2)) + (27*n-4)/135 )^(1/3).
PROG
(PARI)
A006564(n) = (5*n^2*(n-1)/2+n); \\ From A006564
A256434(n) = { my(i=0); while(A006564(i) < n, i++); return(A006564(i) == n); }; \\ Antti Karttunen, Aug 05 2018
CROSSREFS
Cf. A006564 (icosahedral numbers).
Sequence in context: A016423 A016360 A016412 * A247133 A186742 A016365
KEYWORD
nonn
AUTHOR
Mikael Aaltonen, Mar 28 2015
EXTENSIONS
More terms from Antti Karttunen, Aug 05 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 19:45 EDT 2024. Contains 372703 sequences. (Running on oeis4.)