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!)
A366269 Hexagonal numbers which are the sum of the first k primes, for some k >= 0. 4
0, 28, 54047322253, 14756071005948636, 600605016143706003, 41181981873797476176, 240580227206205322973571 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Wikipedia, Hexagonal number.
FORMULA
a(n) = A007504(A366270(n)).
EXAMPLE
28 is a term because it's both a hexagonal number and the sum of the first five primes (2 + 3 + 5 + 7 + 11).
MATHEMATICA
A366269list[kmax_]:=Module[{p=0}, Join[{0}, Table[If[IntegerQ[(Sqrt[8(p+=Prime[k])+1]+1)/4], p, Nothing], {k, kmax}]]]; A366269list[10^5]
CROSSREFS
Intersection of A000384 with A007504.
Subsequence of A066527.
Cf. A061890, A364691, A364694, A366270 (corresponding k values).
Sequence in context: A234620 A137942 A099090 * A123269 A067158 A243001
KEYWORD
nonn,hard,more
AUTHOR
Paolo Xausa, Oct 06 2023
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 September 15 23:52 EDT 2024. Contains 375959 sequences. (Running on oeis4.)