OFFSET
1,2
EXAMPLE
2 + 2 + 3 = 7 = a(11),
13 + 13 + 14 = 40 = a(12),
2 + 7 + 15 = 24 = a(13),
3 + 5 + 16 = 24 = a(14),
2 + 4 + 17 = 23 = a(15),
17 + 18 + 2 = 37 = a(16),
3 + 2 + 19 = 24 = a(17),
etc.
MAPLE
pflat := proc(nmax) local a, ifs, n, p, c ; a := [0, 0, 1, 1] ; for n from 2 to nmax do a := [op(a), n] ; ifs := ifactors(n)[2] ; for p in ifs do a := [op(a), op(1, p)] ; if op(2, p) > 1 then a := [op(a), op(2, p)] ; fi; od: od: a ; end: L := pflat(300) ; for n from 1 to nops(L)-3 by 3 do printf("%d, ", op(n, L)+op(n+1, L)+op(n+2, L) ) ; end do: # R. J. Mathar, Apr 29 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Nov 17 2008
EXTENSIONS
All numbers after a(14) corrected by R. J. Mathar, Apr 29 2010
STATUS
approved