cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A105024 a(n) = A102371(n) + n. Or, 2*A103745.

Original entry on oeis.org

0, 2, 4, 10, 16, 34, 68, 130, 256, 514, 1028, 2058, 4096, 8194, 16388, 32770, 65536, 131074, 262148, 524298, 1048592, 2097154, 4194308, 8388610, 16777216, 33554434, 67108868, 134217738, 268435456, 536870914, 1073741828, 2147483650, 4294967296, 8589934594
Offset: 0

Views

Author

N. J. A. Sloane, Apr 03 2005

Keywords

Programs

  • Maple
    sm:= proc (n) local t1, l; t1 := 0; for l to n do if `mod`(n-l,2^l) = 0 then t1 := t1+2^l end if end do; t1 end proc;